1682
.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 2 days ago

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Helps a bit.

[-] cantankerous_cashew@lemmy.world 8 points 2 days ago* (last edited 2 days ago)

you can also delete them recursively with

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

(adapted from this script)

[-] MissingInteger@lemm.ee 9 points 2 days 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
1682 points (99.6% liked)

Programmer Humor

20033 readers
1375 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