find /whatever/directory/here -type f -name “.DS_Store” -delete -print
for example:
find /Users/me/Documents/-Actionscript-Flash -type f -name “.DS_Store” -delete -print
or
find /home/vhosts/dev31 -type f -name “._*” -delete -print
Here are some subversion examples
find . -type d -name ‘.svn’ -print0 | xargs -0 rm -rdf
find ./ -name “.svn” | xargs rm -Rf
Yes I understand you can export to get rid of them. But there has been more than one occasion where I wanted to exactly this without purging thru subversion and I’m sure I’m not the only one that has ever wanted to… so here is how.
Remove .DS_Store files via command line
Apr, 12 -- Categories: Mac