Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 days ago.DS_Storesh.itjust.worksimagemessage-square154fedilinkarrow-up11.69Karrow-down16
arrow-up11.68Karrow-down1image.DS_Storesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 days agomessage-square154fedilink
minus-squarecantankerous_cashew@lemmy.worldlinkfedilinkarrow-up8·edit-22 days 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·2 days 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 -delete
would just match the exact file and is faster.