OS X: Show hidden files and folders in Mac OS X Finder
I received a request to show how to show hidden files and folders in the Mac OS X finder. Using this terminal command, any OS X user can unhide all hidden files and folders. This will make them visible when browsing through Finder.
First, open Terminal.
Type this command, then press enter:
defaults write com.apple.finder AppleShowAllFiles TRUE
To allow the files to be shown, you must restart Finder. You can do this by holding the Option key, click and hold the Finder icon. When the context menu shows, select Relaunch.
Finder will now restart.
Now all hidden files are showing!
To hide files again, type:
defaults write com.apple.finder AppleShowAllFiles FALSE
In the terminal instead, and restart Finder.
You can also restart finder by using the following command from the terminal:
killall Finder





brian said on October 3, 2008
Here is a program that will do these steps for you (I always forget what to type, and I have to toggle nearly every day):
http://gotoes.org/sales/ShowHiddenFilesMacOSX/
Program is free; tested on OSX 10.4.11
lilly said on November 19, 2008
Thanks ! Been Needing to know how to do this for ages !
enrique said on February 20, 2009
:) thanks
Watson said on April 18, 2009
I did this but then when I put them back by putting the command in with False at the end ALL of the folders are still visible in my user folder. Just my User folder, everywhere eles went back to hidden. Any Suggestions?
anon. said on June 15, 2009
I don’t have terminal for some reason. How do I do it then?
akash singh said on May 30, 2011
seriously you don’t have a terminal…..?? XD
thats not possible actually. press Command+Space then type terminal and press enter.