ElCanut@jlai.lu to linuxmemes@lemmy.world · 10 months agoOh no ...jlai.luimagemessage-square334fedilinkarrow-up11.8Karrow-down1110
arrow-up11.69Karrow-down1imageOh no ...jlai.luElCanut@jlai.lu to linuxmemes@lemmy.world · 10 months agomessage-square334fedilink
minus-squareDamage@feddit.itlinkfedilinkarrow-up4·edit-210 months agothe -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·10 months agoHuh. I wonder if GNU find should be modified, so that -delete only works when explicitly given a directory.
the
-delete
option infind
goes 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
-delete
only works when explicitly given a directory.