Mac隐藏文件

显示隐藏文件,在Terminal里输入:

defaults write com.apple.finder AppleShowAllFiles -bool true

不显示隐藏文件:

defaults write com.apple.finder AppleShowAllFiles -bool false