This is really going to be helpful, as I often times need to make photoshop files on my powerbook, but then have to move these files over to a windows machine that is running Apache Tomcat to serve up web applications. .DS_STORE files are the bain of the existence of anybody trying to run a source code repository, as they often time make their way into the repository if people aren’t watching.
UPDATE: Be sure to check out this post if you dont want .DS_STORE files to ever make it into a subversion source code repository.
Mac OS X 10.4: How to prevent .DS_Store file creation over network connections
This article contains advanced material intended only for those who are looking for information on .DS_Store files. If you do not already have an opinion on this matter, you can disregard this article.
To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.
Note: This will affect the user’s interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.
1. Open the Terminal.
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
3. Press Return.
4. Restart the computer.
If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps aboveâ€”or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.
These steps do not prevent the Finder from creating .DS_Store files on the local volume. These steps do not prevent previously existing .DS_Store files from being copied to the remote file server. Please note that disabling the creation of .DS_Store files on remote file servers can cause unexpected behavior in the Finder.