Created
July 1, 2009 06:14
-
-
Save krayinc/138629 to your computer and use it in GitHub Desktop.
不可視ファイルのON/OFF
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 | |
case "$1" in | |
true) | |
defaults write com.apple.finder AppleShowAllFiles TRUE | |
killall Finder | |
;; | |
false) | |
defaults write com.apple.finder AppleShowAllFiles FALSE | |
killall Finder | |
;; | |
*) | |
echo $"Usage: $0 {true|false}" | |
exit 1 | |
esac | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment