Created
April 19, 2012 13:18
-
-
Save hkurosawa/2420936 to your computer and use it in GitHub Desktop.
toggle Finder setting to show hidden files
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 | |
#toggle OSX Finder setting to show the hidden dotfiles | |
if [ `defaults read com.apple.finder AppleShowAllFiles` -eq 1 ]; then | |
defaults write com.apple.finder AppleShowAllFiles -bool NO; | |
else | |
defaults write com.apple.finder AppleShowAllFiles -bool YES; | |
fi | |
killall Finder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment