To hide them again, follow the same steps but replace the Terminal command with: defaults write AppleShowAllFiles NO Relaunch Finder by right clicking the Finder Icon whilst holding the `option/alt` key Hold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch.In Terminal, paste the following: defaults write AppleShowAllFiles YES.Open Terminal found in Finder > Applications > Utilities.The long way to show hidden Mac OS X files is as follows: Thanks to Guido Schlabitz for making me aware of this new shortcut. If you're using a version earlier than macOS Sierra, see Show/Hide Hidden Files using Terminal Aliases to setup a toggle command via terminal. Press once to show hidden files and again to hide them. Since the release of macOS Sierra, when in Finder, it is now possible to use the shortcut: CMD + SHIFT +. The Quickest Way to Show/Hide Hidden Files All I need do now is type showFiles and hideFiles whenever I need to show/hide OS X's hidden files.
Today I decided to make a short and easy to remember alias to speed up the process. It seems like every day I search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to then hide those hidden files a few minutes later.