Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think there's any way to do that, the files are needed by Finder to store per-folder layouts and settings.

You can however create a cronjob that deletes the files as often as you want, the operation takes 11 seconds on my 1TB SSD with a fairly large home folder:

    fd -u --type file --fixed-strings .DS_Store $HOME -x echo rm {}
obviously, remove the echo to actually delete the files


> I don't think there's any way to do that, the files are needed by Finder to store per-folder layouts and settings.

I've always hated this excuse from software developers (I know it's not your excuse, alin23).

User: How do I stop my computer from doing Unwanted Thing X?

Dev: You can't. Unwanted Thing X is needed so we can do Unwanted Thing Y.

Fucking A! Stop doing unwanted things on my computer! My computer should only be creating files I command it to create. It shouldn't be doing things I don't want it to do simply because it conveniences a developer living 1000 miles away in Silicon Valley. My filesystem is there to store my files not some developer's metadata. It should not contain this trash from my operating system. At least give me a DONT_CREATE_THIS_DS_STORE_CRAP environment variable or System Preference to set!

I'll be generous and grant one root directory tree to the OS for its litter. Linux can have /var, macOS can have /System and maybe /Library too. Windows can have C:/WINDOWS. Everywhere else in my OS, hands off, please!


I don't want finder to store per-folder layouts and settings. I don't even care about the .DS_Store files very much. I just don't want the functionality that they exist to enable.


I don't even use finder and I still find these things popping up every now or then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: