Tuesday, November 10, 2020

Delete .DS_Store files on Mac

As with many things I post to my blog I post them here rather than keeping on some personal repository of information because I don't want to have to remember it every time (no matter how simple it might be) and other people might find it useful when searching around.

Have you ever needed to remove all the .DS_store files on your Mac from all subdirectories, I dunno, maybe from a git repository? If so here:

find . -name ".DS_Store" -print -exec rm {} \;

No comments:

Post a Comment