通过其他软件选择文件时候显示隐藏文件和文件夹 快捷键 command + shift + .
终端执行命令-(finder)显示隐藏的文件和文件夹
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
终端执行命令-(finder)隐藏文件和文件夹
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder