I always seem to misplace this little piece of code, so I thought I would make my own post on it. Prevents those pesky .DS_Store files that OS X creates. Just run it from the OS X Terminal and you are all set.
| 1 | defaults write com.apple.desktopservices DSDontWriteNetworkStores true |







