隐藏/显示隐藏文件 defaults write com.apple.finder AppleShowAllFiles -bool true defaults write com.apple.finder AppleShowAllFiles -bool false 执行命令后需要重启finder