Automator -> [服务] -> 搜索栏中找到"Run Shell Script"拖到右边的工作区 -> 复制以下脚本文本框中: 

STATUS=`defaults read com.apple.finder AppleShowAllFiles` 
if [ $STATUS == YES ]; 
then 
defaults write com.apple.finder AppleShowAllFiles NO 
else 
defaults write com.apple.finder AppleShowAllFiles YES 
fi 
killall Finder  

OSX Finder显示隐藏文件

Command + S保存。
使用时找到Finder -> [服务]即可。

相关文章:

  • 2021-11-20
  • 2021-11-19
  • 2021-08-09
  • 2021-11-19
  • 2022-01-07
  • 2021-07-21
  • 2021-11-19
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-09-03
  • 2021-12-30
  • 2022-02-10
  • 2021-04-10
相关资源
相似解决方案