隐藏“隐藏文件”的命令行如下:
defaults write com.apple.finder AppleShowAllFiles -bool false
复制代码
显示“隐藏文件”的命令如下:
defaults write com.apple.finder AppleShowAllFiles -bool true
复制代码
注意:执行完命令要关闭finder,重启一下。
defaults write com.apple.finder AppleShowAllFiles -bool false
复制代码
defaults write com.apple.finder AppleShowAllFiles -bool true
复制代码
注意:执行完命令要关闭finder,重启一下。