Created
February 22, 2014 16:41
-
-
Save chutaicho/9157710 to your computer and use it in GitHub Desktop.
Switching status of AppleShowAllFiles
This file contains 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 | |
current_value=$(defaults read com.apple.finder AppleShowAllFiles) | |
if [ $current_value = "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
Automator app
https://www.dropbox.com/s/mn1o0js4ptw2nfb/ShowAllFiles.zip