macOS系统如何显示和隐藏文件
2018-08-07 本文已影响49人
忆昔溪
苹果macOS操作系统下,隐藏文件是否显示有很多种设置方法,最简单的要算在Mac终端输入命令,然后重新启动Finder即可生效,注意其中的空格并且区分大小写:
显示Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool false
或者
显示Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles YES
隐藏Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles NO