ElCanut@jlai.lu to linuxmemes@lemmy.world · 1 year agoOh no ...jlai.luimagemessage-square335fedilinkarrow-up11.82Karrow-down1113
arrow-up11.71Karrow-down1imageOh no ...jlai.luElCanut@jlai.lu to linuxmemes@lemmy.world · 1 year agomessage-square335fedilink
minus-squareDamagelinkfedilinkarrow-up4·edit-21 year 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·1 year 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.