May 5, 2008
How to prevent .DS_Store file creation over network connections
.DS_Store files are annoying. Even thought they are used to save the positions of icons, the size of the respective Finder window, the window’s background, and many more view options, for some it’s considered a design flaw of Finder.
If you want to stop them to be created on your network, follow these steps:
1. Open the Terminal.
2. Type:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
3. Press Return.
4. Restart the computer.
If you want to remove .DS_Store files on your local machine, type in your Terminal window:
sudo find / -name ".DS_Store" -depth -exec rm {} \;


