How to Easily Hide A File/Folder In Mac

In Linux, it is simple to hide a file by appending a “.” on the beginning of the filename. In Mac, you won’t be capable of do this. The op...



In Linux, it is simple to hide a file by appending a “.” on the beginning of the filename. In Mac, you won’t be capable of do this.

The option would be simple. All you need is to use the “chflags” command.

1. Open a terminal in Mac (Utilities -> Terminal).

2. Type the command:

chflags hidden /path/to/file

and press Enter. Your file/folder will magically disappear through the scene.

3. To unhide the file/folder, utilize the command:

chflags nohidden /path/to/file


Hide File/Folder From the Context Menu


With the help of Automator, we can easily easily develop a service to hide your file/folder directly through the context menu.

1. Open Automator. Choose “Services”.

2. For the “Services selected receives” field, select “files or folders” and “Finder”.

automator-service-hide

3. Next, drag and drop “Run shell script” from your Action for the Workflow section. Select “as arguments” for the Pass Input field. Paste these script:

for f in "$@" do chflags hidden "$f" done

and save the service as “Hide”.

Now, you should manage to find the “Hide” option in the context menu whenever you select and right click on personal files/folder.

The disadvantage concerning this script is you can only use it to disguise the file. You won’t have the ability to use it to unhide the file. To do so, you have to work with the terminal.

COMMENTS

http://videohive.net/?ref=gimmegfx

http://themeforest.net/?ref=gimmegfx

http://audiojungle.net/?ref=gimmegfx

Name

blogging,255,computing,705,ebook,53,ebooks,354,freebies,358,graphics,225,IFTTT,3,internet,207,mobile,252,news,99,sharedtutor,78,slider,2,video tutorials,5,VideoHive,1156,YouTube,1005,
ltr
item
SharedTutor Tutorials For Everyone: How to Easily Hide A File/Folder In Mac
How to Easily Hide A File/Folder In Mac
http://i0.wp.com/imagecdn5.maketecheasier.com/2013/08/automator-service-hide.png
SharedTutor Tutorials For Everyone
http://www.sharedtutor.com/2013/09/how-to-easily-hide-filefolder-in-mac.html
http://www.sharedtutor.com/
http://www.sharedtutor.com/
http://www.sharedtutor.com/2013/09/how-to-easily-hide-filefolder-in-mac.html
true
1970043136941886328
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy