os-x

Recursively remove all .DS_Store files in the current directory

.DS_Store files are created by Finder in OS X inside of browsed directories. To recursively remove all of the .DS_store files in the current directory, use the following command

$ sudo find ./ -name ".DS_Store" -depth -exec rm {} \;

more OS X posts