View hidden files and directories with Finder in OS X Mavericks

With the release of OS X Mavericks the old Terminal command that causes Finder to show hidden files and directories no longer works. If you want to see hidden files, such as a .gitignore file in your repository, open a Terminal window and run this command:

defaults write com.apple.finder AppleShowAllFiles -boolean true

Then refresh all Finder windows so that they honor the new configuration setting:

killall Finder

To revert back to hiding these files and directories, run the first command but change true to false.

Check out my next blog post to see how this task can be automated by writing a custom Terminal command!

About Josh Smith

Josh Smith is a musician at heart, and a software developer by obsession. He lives in Arizona, plays classical music on the piano, and enjoys a variety of tasty beverages. He has a wonderful wife and thinks that, in general, life is good.
This entry was posted in Tips and Tricks. Bookmark the permalink.

4 Responses to View hidden files and directories with Finder in OS X Mavericks

  1. Pingback: Customizing the Mavericks Terminal to show/hide hidden files | iJoshSmith

  2. Snap says:

    For crying out loud… FINALLY, someone knows what they are are talking about. It works in Mavericks 10.9.1. Thanks.

  3. carolgwahl says:

    You have given the perfect solution, I’ve seen this solution at multiple places but it just will not work on my MacBook with Mavericks. I receive software updates from a vendor that include folders named .Net2.0 and .Net4.0 and they are invisible. Are there any other fixes? Or should I go for apps that show system files mac easily?

  4. sam says:

    how to undo it???, works good

Comments are closed.