Skip to content

Instantly share code, notes, and snippets.

@curiouslychase
Created August 15, 2013 16:44
Show Gist options
  • Save curiouslychase/6242380 to your computer and use it in GitHub Desktop.
Save curiouslychase/6242380 to your computer and use it in GitHub Desktop.
Toggle your hidden files in finder by runnning `finderHideTogg` in terminal.
function finderHideTogg() {
if [ `defaults read com.apple.finder AppleShowAllFiles` == true ]; then
`defaults write com.apple.finder AppleShowAllFiles false`;
else
`defaults write com.apple.finder AppleShowAllFiles true`;
fi
`killall Finder`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment