通过终端命令行来操作完成
1.显示全部文件
defaults write com.apple.finder AppleShowAllFiles -bool true
osascript -e 'tell application "Finder" to quit'
2.不显示全部文件
defaults write com.apple.finder AppleShowAllFiles -bool false
osascript -e 'tell application "Finder" to quit'
本文介绍如何使用Mac终端命令行操作Finder显示或隐藏全部文件。通过两条命令实现:一是设置显示所有文件;二是设置隐藏部分系统文件。这对于熟悉命令行操作的用户来说非常便捷。
1418

被折叠的 条评论
为什么被折叠?



