Finding and removing metadata files and folders (.DS_Store, thumbs.db, etc)

Published at

#terminal-shell

This TIL is more than a year old. Some details may have changed.

SHELL
$ find . -type <f or d> -name "<name of entity to remove>" -print0 | xargs -0 rm -rf