1745
.DS_Store (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] skuzz@discuss.tchncs.de 45 points 3 weeks ago

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Helps a bit.

[-] cantankerous_cashew@lemmy.world 9 points 3 weeks ago* (last edited 3 weeks ago)

you can also delete them recursively with

find . -name '*.DS_Store' -type f -print -delete

(adapted from this script)

[-] MissingInteger@lemm.ee 10 points 3 weeks ago

Why is there a * in front of DS_Store?
Seems like fastly made a small mistake find . -name '.DS_Store' -type f -print -delete would just match the exact file and is faster.

load more comments (1 replies)
this post was submitted on 28 Jan 2025
1745 points (99.7% liked)

Programmer Humor

20764 readers
1816 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