Sjmarf to Programmer [email protected] • 2 days ago.DS_Storesh.itjust.worksmessage-square148fedilinkarrow-up11.67K
arrow-up11.67Kimage.DS_Storesh.itjust.worksSjmarf to Programmer [email protected] • 2 days agomessage-square148fedilink
minus-square@[email protected]linkfedilink8•edit-22 days agoyou can also delete them recursively with find . -name '*.DS_Store' -type f -print -delete (adapted from this script)
minus-squareM.intlinkfedilink9•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.