打开:defaults write com.apple.finder AppleShowAllFiles -bool true 关闭:defaults write com.apple.finder AppleShowAllFiles -bool false