Sjmarf to Programmer [email protected] • 1 month ago.DS_Storesh.itjust.worksimagemessage-square155fedilinkarrow-up11.74Karrow-down15
arrow-up11.74Karrow-down1image.DS_Storesh.itjust.worksSjmarf to Programmer [email protected] • 1 month agomessage-square155fedilink
minus-square@cantankerous_cashewlink9•edit-21 month agoyou can also delete them recursively with find . -name '*.DS_Store' -type f -print -delete (adapted from this script)
minus-squareM.intlinkfedilink10•1 month 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.