Date created: 08/27/10 17:11:03. Last modified: 12/13/12 11:41:20

.DS_Store Files

Why oh why Steve Jobs do your lovely machines make .DS_Store files by default on network locations? What kind of backwards thinking is that? Exploits of a Mum stylie, teach me a lesson the hard way why don't you!

Lets start by removing all .DS_Store files from the current directory (which maybe for example, the root share of your much loved xServe file server):

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

Now, to make sure we don't have our clients undo our hard, hard work of running the above command, issue the following command to them:

defaults write DSDontWriteNetworkStores true