find can do that. Just add -delete:
find . -name “.DS_Store” -delete
find . -name “.DS_Store” -print -delete
This will delete all the files named .DS_Store in the current path while also displaying their relative paths
by James Palmer
find can do that. Just add -delete:
find . -name “.DS_Store” -delete
find . -name “.DS_Store” -print -delete
This will delete all the files named .DS_Store in the current path while also displaying their relative paths