1 .启动Automator
2.选择新建文稿
3.选择服务
4.[1] 搜索 运行
-> 选择 运行shell脚本
-> [2] 设置 “服务”收到 没有输入
和 位于Finder.app
-> [3] 添加如下命令
1 | STATUS=`defaults read com.apple.finder AppleShowAllFiles` |