显示/隐藏文件
//显示:
defaults write com.apple.finder AppleShowAllFiles -bool true
//隐藏:
defaults write com.apple.finder AppleShowAllFiles -bool false
//显示:
defaults write com.apple.finder AppleShowAllFiles -bool true
//隐藏:
defaults write com.apple.finder AppleShowAllFiles -bool false