Last active
August 29, 2015 14:20
-
-
Save defenestrator/5d5d3fd729b58cc87288 to your computer and use it in GitHub Desktop.
hiddenFilesOsxToggle.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
STATUS=`defaults read com.apple.finder AppleShowAllFiles` | |
if [ $STATUS == YES ]; | |
then | |
defaults write com.apple.finder AppleShowAllFiles NO | |
else | |
defaults write com.apple.finder AppleShowAllFiles YES | |
fi | |
killall -TERM Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add to automator; run as shell script, under /bin/bash (or use your .zsh settings!)
Make a keyboard shortcut. I use "⌘⇧."