Toggle Hidden Folder for Finder

Share with your friends









Submit

I don’t know about you, but personally, I rather hate having to remember how to view hidden folders in Finder. In case you don’t know what a hidden folder is: sometimes your (Mac) computer creates folders that are not really meant to be seen by you. So if you don’t know what they are and have never needed to use them, you should probably stay away! However there are times when important files lie within (Ya’ll Lion geeks know what I’m talking about, right? That damn ~/Library/ folder amiright!?)

If you’re looking for a quick fix:

  1. Open up Terminal (Applications | Utilities)
  2. Paste/Type in: 
    defaults write com.apple.finder AppleShowAllFiles -bool YES
  3. Hit Enter
  4. Paste/Type in:
    killall Finder
  5. Hit Enter

Finder will restart (say bye and hi to your dock) and you’re in!

But I assure you, you’ll hate seeing them again so go back in and follow the steps above again, just be sure to replace YES with NO during step 2.

Feeling lazy? Me too! I built an AppleScript for it so I’ll never have to remember that long command again… You can add this to your menu bar  by opening up the AppleScript editor (under Applications | Utilities), going to AppleScript Editor | Preferences, and checking off “Show Script Menu in Menu Bar” then you’ll have a hand page symbol like this:

User Scripts

 

Click the script icon and go to the open scripts folder, then choose Open User Scripts Folder (as I was doing) this takes you directly to the folder that holds your personal scripts (remember this one kiddies, it’s pretty useful). Then download the Finder Hidden Folders.scpt from the GitHub link below and copy and paste that sucker in there. As you can see from my screenshot, I can now toggle hidden folders by clicking that icon and then “Finder Hidden Folders” which will prompt

Finder Hidden Folders Prompt

 

This will go a long way as to never having to google or save that command when you most need it.

Download from GitHub

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

post