Do you like to be organized? Well for me that is a rhetorical question. I don’t like files on my computer that aren’t useful to me. I found a simple way to make any file, folder, or application invisible using a Terminal command. Beforehand, you will need to have the Developer Tools installed (included with the Mac OS X Installer discs).
- Once you have loaded Mac OS X Installer Disc 1, look for the Xcode Tools folder.
- Double click on it. In the new window, double click on the XcodeTools.mpkg file.
- This will install the Developer Tools. Once done installing, open up Terminal.
- In Terminal, type in
/Developer/Tools/SetFile -a V
- Drag the file or folder into Terminal with a space after the
V
and hit the Return key. - Type in
killall Finder
, then hit the Return key. - The file should now be hidden.
- After you have hidden your file, you may want to have access to the hidden files again.
- To view hidden files, open up Terminal and type in:
defaults write com.apple.Finder AppleShowAllFiles TRUE
and hit the Return key. - Type in
killall Finder
, then hit the Return key. - To show the hidden files follow step 9 and 6, except replace
TRUE
withFALSE
. - To un-hide the folder, file or application, you must first follow steps 4-9. Then, in Terminal just type
/Developer/Tools/SetFile -a v
(drag the file here), hit the Return key. - Then type
killall Finder
and hit the Return key.
Julien
Apr. 13, 2010It works! Nice, dude, you rock! ;)
Mason Sklut
Apr. 21, 2010Thanks Julien.