显示隐藏文件
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