显示Mac隐藏文件的命令:defaults
write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:defaults
write com.apple.finder AppleShowAllFiles -bool false
执行以后,使用:killall Finder 更新一下文件就可以显示出来或者隐藏了。
显示Mac隐藏文件的命令:defaults
write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:defaults
write com.apple.finder AppleShowAllFiles -bool false
执行以后,使用:killall Finder 更新一下文件就可以显示出来或者隐藏了。