本文介紹了文件顯示或隱藏的設(shè)置方式
一.進(jìn)入終端

image.png
二.復(fù)制以下命令到終端中并回車
- 顯示隱藏文件
defaults write com.apple.Finder AppleShowAllFiles YES;KillAll Finder
- 不顯示隱藏文件
defaults write com.apple.Finder AppleShowAllFiles NO;KillAll Finder
defaults write com.apple.Finder AppleShowAllFiles YES;KillAll Finder
defaults write com.apple.Finder AppleShowAllFiles NO;KillAll Finder