开启 defaults write com.apple.Finder AppleShowAllFiles YES 关闭 defaults write com.apple.Finder AppleShowAllFiles NO 执行后重启Finder killall Finder