To display all hidden files, open up the terminal and type,
defaults write com.apple.finder AppleShowAllFiles TRUE
Change “TRUE” to “FALSE” to hide the files
Then restart the Finder
killall Finder
Update Apparently this first method no longer works with the newer update of Leopard, so I’ve added a couple of alternative methods.
1) In Mac OS X, files and folders can be hidden by putting a “.” (without the quotes) in front of the file name.
2) Open up the terminal and type,
mv ~/Desktop/File ~/Desktop/.File
An easy way to get the paths is to type mv (don’t forget the space), drag the folder or file you want hidden into the terminal twice, and using the arrow keys add a . before the last file name.
3) Open up the terminal and type,
chflags hidden ~/Desktop/File
Again, you can get the path using the drag’n'drop method. Also, this method doesn’t hide the file in the terminal. To reverse it use nohidden instead of hidden.




![Framing #2 - Drottningholms slott/Drottningholm Palace (UNESCO World Heritage) [Explore First Page, THANK YOU] Framing #2 - Drottningholms slott/Drottningholm Palace (UNESCO World Heritage) [Explore First Page, THANK YOU]](http://static.flickr.com/7102/7204258846_3843eb8ecb_t.jpg)



February 19, 2009 at 1:40 pm
Thanks for this useful tip Matthew, it came up as the first hit when I Googled “show all invisible files in leopard” ✌
June 9, 2009 at 5:22 pm
OS X won’t let users begin file names with a dot [.] b/c “these names are reserved for the system”.
So this is _not_ a way to “hide” files in OS X.
June 10, 2009 at 2:04 pm
Thanks for bringing that to my attention. I’ve added a couple of additional methods that still work.
November 3, 2009 at 6:03 pm
I reloaded leopard and gave command to Archive and Install.
However I cannot find “previous System now anywhere but the space on HDD is taken. Something is taking over 80GB with new installation and I cannot retrieve the old files. Funny enough only a few of the old ones got saved in documents.
Anywbody knows how to dig deep and find “previpous system”
hidden away somewhere.
David
November 3, 2009 at 6:04 pm
I am writing another message to be able to tick for notification of the reply.
Thanks!
November 3, 2009 at 11:27 pm
Well, an Archive and Install should only affect system files. It should move the old system files into a folder called “Previous System”, probably in the base folder of your boot drive. The 80GB is probably this folder. Dig around in it and see if you can find what you’re missing.
I’ll also suggest, if you’re not using it, use Time Machine or some other sort of backup system. The price of an external hard drive seems extremely cheap after the first time you lose data.