Sjmarf to Programmer Humor@programming.dev • 3 months ago.DS_Storesh.itjust.worksimagemessage-square153fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1image.DS_Storesh.itjust.worksSjmarf to Programmer Humor@programming.dev • 3 months agomessage-square153fedilink
minus-square@cantankerous_cashew@lemmy.worldlinkfedilink0•edit-23 months agoyou can also delete them recursively with find . -name '*.DS_Store' -type f -print -delete (adapted from this script)
minus-squareM.intlinkfedilink0•3 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 -delete
would just match the exact file and is faster.