How do I make an existing folder hidden?

RyanLang

Charlie Brown
I have some folders that I'd like to make hidden folders. Is there any easy way to do this just by using OSX's features? If not, is there a 3rd party app out there that can do the trick? Thanks
-Ryan
 
:) Another way is to add a period to the beginning of the folder name. No guarantees you'll ever find it again, though. :p
 
Yes, you can make any directory invisible.
If it is on the root level, the easiest solution is probably to add dirname to the .hidden file that lists items on the root level of the boot volume (/) to keep hidden from the Finder, then restart the Finder. Lanuch the Terminal.app and issue these commands exactly as they appear below:
sudo -s
cp -p /.hidden /.hidden.default
echo 'dirname' >> /.hidden
exit
kill -1 `ps auxc | grep Finder | awk '{print $2}'`


Alternately, if you have the Developer Tools installed, you can set the directory's invisbility bit:
/Developer/Tools/SetFile -a V /dirname

If it is a non-root level directory to be made invisible, the command would be along these lines:
/Developer/Tools/SetFile -a V /Volumes/drivename/dirname
This will "invisify" the named directory on the non-boot drive, making it invisible to the Finder.

Apart from the Developer's Tools, you would have to use another third-party application to make non-root level of boot volume items hidden:
http://www.versiontracker.com/mp/ne...ode=Quick&OS_Filter=MacOSX&search=hide+folder
or
http://www.tice.de/m4e/a_software/c_invisibles.html
(Yes, there is an English version.)
 
Back
Top