Jump to content

How to find hidden directories on a Mac


Recommended Posts

How to find hidden directories on a Mac

Ever wondered how to reveal the hidden directories (and other files) on your Mac? We show you how.


I've heard there are hidden directories in OS X. What are these directories, and how do you make them accessible?


Hidden directories in OS X contain many different system-level files that tell OS X and the Finder how to behave with regards to directories, applications, trash items, and more. Following standard Unix behavior, OS X has adopted the "." (dot) as the standard designation that a file or directory is hidden from view.

To show hidden files in the Finder, we must rely on a Terminal hack that will reveal the files in the Finder. To do this, open the Terminal application (located in /Applications/Utilities), and type in the following command, followed by the return key:

defaults write com.apple.finder AppleShowAllFiles YES


Next, restart the Finder by logging out of your account, and then back into your account. Notice that you'll see hidden files everywhere in the Finder and on the Desktop. If you wish to go back to only seeing visible files in the Finder, then repeat the command above, replacing "YES" with "NO" and log out and back into your account.

Hidden files are typically system files and should not be messed with unless you know what you're doing. Opening, editing, or deleting hidden files and folders that belong to OS X could have adverse effects on the system. Whenever you have hidden files shown in the Finder, be careful when deleting or editing files.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.