Comment

Comment by alin23

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
parent alin23 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton