Show Hidden Library and User Library files and folder in OSX Lion 10.8
From OSX 10.8 Mountain Lion and 10.7 Lion, the /Library and ~/Library are hidden from the Finder – to show these directories in the GUI, launch Terminal from Applications/Utilities and run the command below with sudo and enter your admin password when requested:
sudo chflags nohidden /Library/ ~/Library/
to hide again:
sudo chflags hidden /Library/ ~/Library/
You can apply this to any directories in the filing system – so to see the hidden contents of the private folder including /etc you would apply:
sudo chflags nohidden /private
But you cannot hide/show defined invisible files/folders that are preceded by a “.” with chflags
To show all hidden files and folders, that start with a ‘.’ , back to Terminal:
defaults write com.apple.Finder AppleShowAllFiles TRUE ; killall Finder
Getting back to cleanliness:
defaults write com.apple.Finder AppleShowAllFiles FALSE ; killall Finder


October 3, 2011 











