开启显示隐藏文件: defaults write com.apple.finder AppleShowAllFiles -bool TRUE 关闭显示隐藏文件: defaults write com.apple.finder AppleShowAllFiles -bool FALSE