OSX Quick Tip: Prevent .ds_store files being written on network sharesOSX Quick Tip: Prevent .ds_store files being written on network shares

Posted June 28th, 2010 in OSX and Quick Tips

When using network shares (e.g. from Samba or Windows servers) on OSX .DS_Store files will be written out when accessing directories. This post shows how to prevent this from happening.

Prevent .DS_Store files being written

Open up a terminal and enter the following command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Now those pesky .DS_Store files will no longer be written.

If for some reason you want to restore the default behavior then run the command again changing "true" to "false".

Related posts:

Comments

blog comments powered by Disqus