{"id":5254,"date":"2011-01-24T10:56:26","date_gmt":"2011-01-24T15:56:26","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?page_id=5254"},"modified":"2011-01-24T12:00:17","modified_gmt":"2011-01-24T17:00:17","slug":"prevent-ds_store-files-from-being-created","status":"publish","type":"page","link":"http:\/\/www.schollnick.net\/wordpress\/macintosh-related\/prevent-ds_store-files-from-being-created\/","title":{"rendered":"Prevent .DS_Store files from being created&#8230;"},"content":{"rendered":"<p><strong>Question: <\/strong>Is there a way to prevent Mac OS X creating .DS_Store and other hidden meta-files on foreign volumes like NTFS and FAT? I share an NTFS partition with data like Thunderird &amp; Firefox&#8217;s profiles and apache&#8217;s DocumentRoot, between Mac OS X and Windows, which is very handy. I don&#8217;t mind if Mac OS X is not capable of indexing or otherwise doing the neat things those metafiles are for.<\/p>\n<p><strong>Answer: <\/strong>To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below:<\/p>\n<p>Note: This applies to any SMB\/CIFS, AFP, NFS or WebDAV connections to a server.<\/p>\n<ol>\n<li>Open Terminal (located in the Utilities folder).<\/li>\n<li>Execute this command:\n<p>defaults write com.apple.desktopservices DSDontWriteNetworkStores true<\/p>\n<p><span style=\"color: #800000;\">This terminal command is case sensitive, so be careful with your upper\/lower casing.<\/span><\/li>\n<li><strong>Either restart the computer or log out and back in to the user account.<\/strong><\/li>\n<\/ol>\n<p>This is user specific, so If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above\u00e2\u20ac\u201dor distribute a copy of the newly modified com.apple.desktopservices.plist file to the ~\/Library\/Preferences folder of other user accounts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: Is there a way to prevent Mac OS X creating .DS_Store and other hidden meta-files on foreign volumes like NTFS and FAT? I share an NTFS partition with data like Thunderird &amp; Firefox&#8217;s profiles and apache&#8217;s DocumentRoot, between Mac OS X and Windows, which is very handy. I don&#8217;t mind if Mac OS X <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/macintosh-related\/prevent-ds_store-files-from-being-created\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":218,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/pages\/5254"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=5254"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/pages\/5254\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/pages\/218"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=5254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->