Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago.DS_Storesh.itjust.worksimagemessage-square158linkfedilinkarrow-up11.78Karrow-down16
arrow-up11.78Karrow-down1image.DS_Storesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square158linkfedilink
minus-squarecantankerous_cashew@lemmy.worldlinkfedilinkarrow-up9·2 years agoyou can also delete them recursively with find . -name '*.DS_Store' -type f -print -delete (adapted from this script)
minus-squareM.int@lemm.eelinkfedilinkarrow-up10·2 years 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.