How to show hidden files in the Mac Finder

- by

Hidden files start with a . on UNIX like systems and OS X is one of them. While we can show hidden files in a Ternimal session by using something like ls -a, it’s not so easy to convince the Finder to show such files.

If ever you need to see them, execute the following from the command line:

defaults write com.apple.finder AppleShowAllFiles YES

Now relaunch Finder ALT-right-clicking the Finder icon in the dock. Choose Relaunch.

Screen Shot 2015-03-27 at 15.17.42

Next time you open a Finder window – either on its own or via an app – you’ll see all kinds of files you didn’t even know existed. They all begin with a dot and are slightly lighter in colour. Others are system folders, such as Library.

So many new files can make your file navigation a little cluttered – which is why it’s good to know how to switch this feature off again. Same command as above, but this time we’ll say no:

defaults write com.apple.finder AppleShowAllFiles NO

Thanks to Ian Lunn for this tip:



If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

2 thoughts on “How to show hidden files in the Mac Finder”

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.