Monday, December 21, 2009

Prevent the creation of .DS_Store file

Been doing testing on apple mac mini and the test required to copy some files from remote devices. The creation of .DS_Store files is a good thing - because it stored custom attributes of the folder and useful for other stuffs but not for my test. So i decided to get rid of the file creation with a very simple steps.

1. Open a terminal and type
defaults write com.apple.desktopservices DSDontWriteNetworkStores true

2. log out and back in (if this doesn't work)

3. Restart the computer for the change to take effect

0 comments: