Skip to content

Comment on ~/.osx — a collection of sensible defaults for OS X Lionparent

Comments

Is there a way to avoid creating .DS_Store files on specific local volumes?

I used to have my Dropbox folder on my secondary (NTFS formatted) harddrive so I could use a symlink to share my Dropbox folder across OSX and my Windows 7 Bootcamp install instead of having duplicate Dropbox folders for each OS. It ended up spewing .DS_Store files all over my employer's company dropbox folders.

https://github.com/binaryage/asepsis

Asepsis enables you to redirect creation of .DS_Store files into a special, dedicated folder. With redirection, Finder works the same way but .DS_Store files are isolated in the dedicated folder /usr/local/.dscache.

if i'm not mistaken, as long as you don't open the folder in Finder, they shouldn't be created. obviously not an ideal solution, so maybe periodic housekeeping is in order:

  find ~/Dropbox -name .DS_Store -exec rm {} \;
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.