Nov 28, '03 10:22:00AM • Contributed by: durin
This removes all .DS_Store files in the current directory and its subdirectories. rm gets a little upset if there are no such files present, but this is minor (really only a problem if you put it in a crontab or something like that).
#!/bin/bash
find . -name .DS_Store -printf \"%p\"\ \ | xargs rm
