Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months ago.DS_Storesh.itjust.worksimagemessage-square161linkfedilinkarrow-up11.78K
arrow-up11.78Kimage.DS_Storesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 9 months agomessage-square161linkfedilink
minus-squarecantankerous_cashew@lemmy.worldlinkfedilinkarrow-up8·edit-29 months agoyou can also delete them recursively with find . -name '*.DS_Store' -type f -print -delete (adapted from this script)
minus-squareM.int@lemm.eelinkfedilinkarrow-up9·9 months agoWhy 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.
you can also delete them recursively with
find . -name '*.DS_Store' -type f -print -delete(adapted from this script)
Why is there a
*in front ofDS_Store?Seems like fastly made a small mistake
find . -name '.DS_Store' -type f -print -deletewould just match the exact file and is faster.