1. 隐藏灰色文件 - 打开终端,执行以下指令
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
2. 显示灰色文件 - 打开终端,执行以下指令
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder