May 8, 2008

Recursively Remove .DS_Store files in OS X

OK so OS X creates these goofy .DS_Store files that i need to delete from everywhere once a while... and just found a way to do them all for a dir and what is in it..

  1. open a terminal window
  2. cd to the dir where you want to remove files from
  3. type the following command
    find . -name *.DS_Store -type f -exec rm {} \;

and your done...

No comments:

Post a Comment