Mac, Tutorials

Show or hide hidden files in Finder on OSX Mavericks

Hidden files shown in Finder
Hidden files shown in Finder
  1. Open a terminal session on your home
  2. Open your “.profile” in a text editor (ex:”nano .profile”)
  3. Create the following two aliases to show or hide hidden files and restart Finder
    # Show hidden files in Finder and restarts Finder
    alias showhidden="defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder"
    # Hide hidden files in Finder and restarts Finder
    alias hidehidden="defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder"
  4. Save the text file in case overwriting your “.profile”. (if you used nano: CTRL+O, CTRL+X)
  5. Once back in bash terminal reload “.profile” by typing “source .profile”
  6. Now you should have “showhidden” and “hidehidden” commands available in terminal to show\hide hidden files in Finder
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s