Stop DS_Store file creation on network connections

May 29, 2007 - 4 Comments

Finder icon

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 various system files though, so dS Store is not alone. 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

.

Related articles:

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

4 Comments

» Comments RSS Feed

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

  2. […] 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 […]

  3. RipRoarinRapids says:

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

  4. 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

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

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

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site