azha@lemm.ee to linuxmemes@lemmy.worldEnglish · 8 hours agoFreedomlemm.eeimagemessage-square49fedilinkarrow-up1502arrow-down18
arrow-up1494arrow-down1imageFreedomlemm.eeazha@lemm.ee to linuxmemes@lemmy.worldEnglish · 8 hours agomessage-square49fedilink
minus-squareLumelore (She/her)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up28arrow-down2·5 hours agoObligatory reminder to remove the French language pack: sudo rm -fr /*
minus-squareSinkingLotus@lemmy.worldlinkfedilinkEnglisharrow-up5·3 hours agoI mean… You’re not wrong. If there’s a French language pack on the system, it will remove it. Tap for spoiler Along with everything else.
minus-squareLeninOnAPrayer@lemm.eelinkfedilinkEnglisharrow-up5·edit-24 hours agoalias trash-put from trash-cli in both sudo and user. myrm() { trash-put "$@" } alias rm="myrm" This has saved my ass so many times. Especially when typing “rm * .png” instead of “rm *.png” Can restore the files using the cli or from system recycling bin. The alias to rm is probably not best. So getting use to using another name is probably best. But I’m never had a problem with it.
minus-squarepressanykeynow@lemmy.worldcakelinkfedilinkarrow-up2·3 hours agoOr just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.
minus-square_____@lemm.eelinkfedilinkEnglisharrow-up1·3 hours agoI’ve never ran into any issues from using rm but I like this idea and will be using it as I only see positives
minus-squareLeninOnAPrayer@lemm.eelinkfedilinkEnglisharrow-up1·3 hours agoDownsides can be inconsistent behavior. As with any alias it’s not meant to be anything but a replacement in your shell. Scripts/SSH etc. Also, you gotta remember to empty your trash. :)
minus-squarekewjo@lemmy.worldlinkfedilinkarrow-up3·2 hours agomake sure to add --no-preserved-root to make sure to update all the English libraries too so you can make sure only freedom fries are respected.
minus-squaregroet@feddit.orglinkfedilinkarrow-up3·2 hours agoNot necessary with /* Only needed if you do rm -rf /
minus-squarestembolts@programming.devlinkfedilinkarrow-up3·3 hours agoI add a -v because I like to watch.
Obligatory reminder to remove the French language pack:
sudo rm -fr /*
I mean… You’re not wrong. If there’s a French language pack on the system, it will remove it.
Tap for spoiler
Along with everything else.
alias trash-put from trash-cli in both sudo and user.
myrm() { trash-put "$@" } alias rm="myrm"
This has saved my ass so many times. Especially when typing “rm * .png” instead of “rm *.png”
Can restore the files using the cli or from system recycling bin.
The alias to rm is probably not best. So getting use to using another name is probably best. But I’m never had a problem with it.
Or just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.
I’ve never ran into any issues from using rm but I like this idea and will be using it as I only see positives
Downsides can be inconsistent behavior. As with any alias it’s not meant to be anything but a replacement in your shell. Scripts/SSH etc.
Also, you gotta remember to empty your trash. :)
help
make sure to add
--no-preserved-root
to make sure to update all the English libraries too so you can make sure only freedom fries are respected.Not necessary with
/*
Only needed if you dorm -rf /
I add a -v because I like to watch.