Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Toggle invisible files in OS X
if [ `defaults read com.apple.finder AppleShowAllFiles` == 1 ]
then
defaults write com.apple.finder AppleShowAllFiles -bool false
else
defaults write com.apple.finder AppleShowAllFiles -bool true
fi
killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.