Stop DS_Store file creation on network connections

May 29, 2007 - 4 Comments

If you use your Mac on a cross platform network often, you’ve surely run into the obnoxious creation of .DS_Store files. If you’re curious what the file is used for, DS_Store is a hidden file for Mac OS X that stores various bits of data for the Finder to remember, like icon position, making it completely useless for anyone besides you to see. By default, your Mac will create the .DS_Store file’s all over the place including accessed computers that aren’t Macs, creating an annoying mess for network users to find. Thankfully you can easily turn off the creation of DS_Store files on network connections:

Stop .DS_Store file creation on network shares

Launch the Terminal and type the following exactly:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Restart your Mac and you will no longer have those pesky .DS_Store files appearing every time you browse a network share.

What is Thumbs.db?

Mac OS X isn’t the only operating system to create annoying system files though. If you ever access your Mac from a Windows PC, you’ll likely find a few Thumbs.db files laying around in your Mac’s folders. Thumbs.db serves much the same purpose in Windows as the DS_Store file does for Mac OS X, making it useless for a Mac user. If you want to get rid of the equally annoying and useless Thumbs.db , read the easy how-to article to remove Thumbs.db files quickly with Spotlight.

Source: Apple

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: David Mendez in Command Line, Mac OS X, Tips & Tricks

4 Comments

» Comments RSS Feed

  1. Techsys says:

    Very nice but DS_Store and Thumbs.db are different, one is from Windows the other is from Mac OS and you only see the other if you are using a network share

  2. RipRoarinRapids says:

    Now this is much more useful, this is what I want

  3. […] Jak nevytvářet na síťových discích .DS_Store? defaults write com.apple.desktopservices DSDontWriteNetworkStores true Po restartu počítače už nežádoucí chování nehrozí. Zdroj: OSXDaily […]

  4. […] is rather easy to stop .DS_Store file creation on network connections but it is rarely necessary, read for more […]

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates