Mac显示隐藏文件可以用以下两条命令:
- defaults write com.apple.finder AppleShowAllFiles -bool true
- defaults write com.apple.finder AppleShowAllFiles YES
同样的,Mac不显示隐藏文件也有对应的两条命令:
- defaults write com.apple.finder AppleShowAllFiles -bool false
- defaults write com.apple.finder AppleShowAllFiles NO