this post was submitted on 28 Jan 2025
1674 points (99.6% liked)

Programmer Humor

20188 readers
462 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 day ago (2 children)

Blue Harvest for Mac will continually clean your removable drives of these files.

[–] [email protected] 7 points 20 hours ago

This seems like a bit of a scam:
On your external drives you can prevent the creation of .DS_Store

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true

If you really want to continuously delete DS_Store from both your internal and external hard drives you can set up a cronjob:

15 1 * * * root find / -name '.DS_Store' -type f -delete
[–] [email protected] 9 points 1 day ago

When I had a Mac, literally the first thing I did was set up a Hazel rule to delete every single .DS_Store in every folder.