1、显示Mac隐藏文件(.文件)(命令行依次输入): defaults write com.apple.finder AppleShowAllFiles YES killall Finder 2、隐藏Mac隐藏文件(.文件)(命令行依次输入): defaults write com.apple.finder AppleShowAllFiles NO killall Finder