Here are a few bits of info regarding .DS_Store
files on Mac OSX.
What they are:
http://en.wikipedia.org/wiki/.DS_Store
The .DS_Store
file is used to store metadata for icon information and are only created when using the gui to browse the file system.
Ways of removing them: http://helpx.adobe.com/dreamweaver/kb/remove-ds-store-files-mac.html
One time removal:
$ sudo find / -name ".DS_Store" -depth -exec rm {} \;
Periodic removal, stick it in cron. My fav.
$ sudo crontab -e
$ 15 1 * * * root find / -name ".DS_Store" -depth -exec rm {} \;
This will run daily at 1:15am, if the computer is on.
find: /System/Volumes/Data/Library/Application Support/com.apple.TCC: Operation not permitted