复制以下代码在终端执行即可
\n\n\n\n显示隐藏文件:
\n\n\n\ndefaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder\n\n\n\n隐藏文件:
\n\n\n\ndefaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder\n在Mac终端执行命令可显示或隐藏文件:显示隐藏文件运行`defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder`;恢复隐藏运行`defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder`。
复制以下代码在终端执行即可
\n\n\n\n显示隐藏文件:
\n\n\n\ndefaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder\n\n\n\n隐藏文件:
\n\n\n\ndefaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder\n