- 显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool ture
- 重新隐藏
defaults write com.apple.finder AppleShowAllFiles -bool false
defaults write com.apple.finder AppleShowAllFiles -bool ture
defaults write com.apple.finder AppleShowAllFiles -bool false