Toggle Display of Hidden Dotfile Files in Mac Save Windows

Jun 16, 2010 - 2 Comments

show hidden files mac

Did you know that you can quickly see or hide all the hidden files in a directory from any Mac Save window with a simple keystroke? This is very useful when you are saving a file to a directory that will appear as invisible, also known as a dotfile in OS X.

To toggle the visibility of otherwise invisible files in a dialog box of OS X, just hit Command+Shift+. (yes, the period key, Command+Shift+Period)

This will instantly switch the display of hidden files in any Mac OS X save dialogue box to be either showing the hidden dotfile files, or hiding them, depending on the current setting.

This is really useful for saving dotfiles and seeing things like .htaccess files or a .ssh file in Mac OS X, since they do not display by default.

If you hit the Command+Shift+Period keystroke again you will toggle the hidden files to be invisible again.

Toggle visibility of hidden files in Open and Save dialog windows of Mac OS X

If you want a more permanent solution so that you can always see the dot files and invisible files of OS X, check out our article to show hidden files on Mac OS X, which offers a defaults command string which will set the Mac to always see the hidden files no matter where you are in the file system, and no matter the app, even within the Finder.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Manish Patel in Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. Aaron says:

    This also seems to work from the finder menu too. (10.6.4 w/ total finder addon)

  2. doesn't work says:

    in leo 10.5.8

Leave a Reply


Shop for Apple & Mac Deals on

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates