How to Show All Hidden Files and Folders On Mac OS X

Mac Tips For iOS Developers

By default, Mac OS X hides various files and folders in Finder. Depending on what folder you are in, for example your home directory, there can be many hidden entries.

I prefer to always have Finder display all files, if you feel the same, from a terminal run the following command:

defaults write AppleShowAllFiles -bool true

Even when I’ve updated this in the past from the Terminal, seems something must periodically reset the default, as sometimes Finder decides to hide files without notice. To get around this, I added the setting to my .bash_profile file (which is a hidden file in the home directory). Thus whenever I login, the default is to show all files.

You can see the current setting for the AppleShowAllFiles using the command below:

defaults read AppleShowAllFiles

  • Related Content by Tag