显示隐藏文件
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
关闭隐藏文件显示
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder