命令行方式显示/隐藏Mac隐藏文件命令如下(注意其中的空格并且区分大小写):

显示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

版权声明:本文为crazypebble原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/crazypebble/archive/2013/06/08/3246345.html