如何优雅地操作macOS?

  "日常积累"

Posted by     "hehaoran" on Tuesday, December 8, 2020

TOC

  1. mac 终端变慢
sudo rm -f /private/var/log/asl/\*.asl
  1. 如何让Finder显示隐藏文件和文件夹
# 显示
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
# 隐藏
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

https://sspai.com/post/26273

  1. brew安装指定版本的软件

https://blog.csdn.net/aa464971/article/details/84860937 https://segmentfault.com/a/1190000015346120

  1. 删除本地git仓库
find . -name ".git" | xargs rm -Rf

「真诚赞赏,手留余香」

Haoran Blog

真诚赞赏,手留余香

使用微信扫描二维码完成支付