Twitter: thinking of retiring my 5 year old hp laserjet 1012 and springing for something wireless [...]

Prevent .DS_Store Creation in OS X

Oct 12, 2006 in , ,

Dave from Jungle Disk pointed me to an Apple article for preventing .DS_Store file creation. These .DS_Store files are created multiple times when connecting to a remote file server, such as a SMB/CIFS, AFP, NFS or WebDAV server. Although they are small and hidden, they can quickly get annoying when transferring files. For example, when sending things to my Amazon S3 account via Jungle Disk, transaction times are slowed down because there are so many extra .DS_Store files.

As the Apple doc states, simply execute the following line in your terminal and reboot.

defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Promote this article on various sites or email to your friends:     



16 Comments

  1. Thank you so much for this. This has been a huge problem with me connecting to PSU’s web storage.

  2. Brilliant. I have been looking for this for a while… will come in handy!! Thanks Paul.

  3. Nice, cool tip. I will put it in my thing to do when I reinstall the OS X.

  4. Maybe its cause I haven’t used Macs much, but this is the first Windows-like tweak I have seen for OS X, like changing a registry value. More to come?

  5. Hey, great tip!

    I was wondering if anyone knows of any side effects to doing this?

    Thanks

  6. Already applied to OS X, thanks Paul!

  7. yes that command really comes in handy when you’ve got network storage.. another terminal command I use a lot is:

    defaults write com.apple.finder AppleShowAllFiles TRUE

    followed by

    killall Finder (which “restarts” your Finder)

    Comes in handy for finding those “secret” files, but also just when you want to clean up your hard drive.

  8. At last, a solution! Thanks for the link :D

  9. Thanks for the tip; my G4 cube would always write these files to Windows file (SMB) shares on my “ghetto dev server” (A celeron 433 in my closet), which I’d later see when working on my PC.

  10. I can’t get this to work! I’ve typed it into terminal, copied/pasted from the apple site, even gone through other steps to copy the plist to preferences. STILL won’t work! What could I be doing wrong? I’m using terminal on Mac OS 10.4.11.

  1. [...] Apple: Mac OS X: Get Info Comments May Not Appear for Remote Volumes Vía PaulStalmatiu.com < TUAW [...]

  2. [...] Prevent .DS_Store Creation in OS X [...]

  3. [...] Mac OS X: Get Info Comments May Not Appear for Remote Volumes Vía PaulStalmatiu.com [...]

Post a comment, receive Stammy points.


Send a trackback.


  • If you plan on posting code, run it through Postable first.
Copyright © 2005 - 2008 PaulStamatiou.com  Privacy Policy - Terms of Service Can't spell my name? Use PSTAM.com. Go back up ↑.