Back OS

Show Hidden Files on your Mac

WRITTEN BY ON 04 Mar 2014

I always need this because I need to edit .htaccess files once a while.

For OS X Mavericks 10.9:

defaults write AppleShowAllFiles TRUE

For Mac OS X 10.8 Mountain Lion, 10.7 Lion, 10.6 Snow Leopard::

defaults write AppleShowAllFiles TRUE

Finally, reset Finder and you should see all the files with "." prefix are shown everywhere.

killall Finder

If you want to hide all the hidden files, just change TRUE to FALSE and kill the Finder again.

Alternatively, you can use this widget for fast switching -

Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.