Show: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder Hide: defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
The article also shows how to do a script to toggle between the two and screenshots.
You can also use programs like Main Menu and other utility programs like free TinkerTool. NOTE: TinkerTool can also add a 'Quit Finder' item on the Finder Menu.
Edited by LilBambi, 25 July 2013 - 09:53 AM.