删除当前目录下的 .DS_Store
文件
sudo find ./ -name ".DS_Store" -depth -exec rm {} \;
删除已提交 git
仓库的 .DS_Store
文件
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
删除当前目录下的 .DS_Store
文件
sudo find ./ -name ".DS_Store" -depth -exec rm {} \;
删除已提交 git
仓库的 .DS_Store
文件
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch