在终端里输入这样的命令,显示隐藏文件:
defaults write com.apple.finder AppleShowAllFiles -bool true
killAll Finder
关闭显示:
defaults write com.apple.finder AppleShowAllFiles -bool false
killAll Finder
或者把第一条命令改成
defaults write com.apple.finder AppleShowAllFiles Yes //显示
defaults write com.apple.finder AppleShowAllFiles No //关闭