在终端使用:
//显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true
//不显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false
最后需要重启Finder:
重启Finder:窗口左上角的苹果标志⇒强制退出⇒Finder⇒重新启动
在终端使用:
//显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true
//不显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false
最后需要重启Finder:
重启Finder:窗口左上角的苹果标志⇒强制退出⇒Finder⇒重新启动