3 ms·
Is there a reliable way to make the os NOT create these `.DS_Store` files? I really don't like them and the fact that they pollute every folder. I'm on Big Sur
by _ZeD_ 4y ago
Is there a reliable way to make the os NOT create these `.DS_Store` files?
I really don't like them and the fact that they pollute every folder.
I'm on Big Sur (11.7.1) and I didn't find a way to make finder NOT create them.
It's (one of the many) irritating idiosyncrasies of this OS
- suction 4y ago[dead]
- lucideer 4y agoI'm not aware of any reliable way, but anecdotally I've found that they seem to be mostly triggered by Finder usage, rather than the OS itself. I've gotten out of the habit of using Finder (instead mostly just use terminal or file-hierarchy UIs in whatever relevant app/IDE), and it's a long time since I've had a .DS_Store issue.
- alin23 4y agoI 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
- ryandrake 4y ago> 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!
- plorkyeran 4y agoI 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.
- narwally 4y agoI don't even use finder and I still find these things popping up every now or then.