Skip to content

Instantly share code, notes, and snippets.

@aubreypwd
Created December 11, 2014 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aubreypwd/3997ab447f65db49a029 to your computer and use it in GitHub Desktop.
Save aubreypwd/3997ab447f65db49a029 to your computer and use it in GitHub Desktop.
Shell Script for turning On/Off Hidden files in Finder
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
if [ $STATUS == TRUE ]; then
defaults write com.apple.finder AppleShowAllFiles FALSE
else
defaults write com.apple.finder AppleShowAllFiles TRUE
fi
killall Finder
@aubreypwd
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment