ElCanut to linuxmemes@lemmy.world · 3 年前Oh no ...external-linkmessage-square332linkfedilinkarrow-up11.85Karrow-down1110
arrow-up11.74Karrow-down1external-linkOh no ...ElCanut to linuxmemes@lemmy.world · 3 年前message-square332linkfedilink
minus-squareDamage@feddit.itlinkfedilinkarrow-up4·3 年前the -delete option in find goes AFTER the expression. find -delete [whatever] will delete EVERYTHING in the current directory and below, like rm -rf *
minus-squareFaresh@lemmy.mllinkfedilinkEnglisharrow-up3·3 年前Huh. I wonder if GNU find should be modified, so that -delete only works when explicitly given a directory.
the
-deleteoption infindgoes AFTER the expression.find -delete [whatever]will delete EVERYTHING in the current directory and below, likerm -rf *Huh. I wonder if GNU find should be modified, so that
-deleteonly works when explicitly given a directory.