Skip to content

Instantly share code, notes, and snippets.

@scruffydan
Created January 17, 2014 20:22
Show Gist options
  • Save scruffydan/8480715 to your computer and use it in GitHub Desktop.
Save scruffydan/8480715 to your computer and use it in GitHub Desktop.
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
if [ $STATUS == YES ];
then
defaults write com.apple.finder AppleShowAllFiles NO
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment