Should be just trash not trash-rm, but it’s like the other person said, when you go to rm, it moves it to trash now, instead of deleting, since usually I don’t want to truly delete things (i.e., I don’t raw delete when using a GUI, so I’m bringing that behavior to CLI as well)
You can ofc still use the old rm and do full deletion. Either sudorm (unless root also has rm aliased) or /bin/rm
But also you can do rm then trash-empty for the same behavior.
I’m actually trying a new alias alias del=/bin/rm so that I have a quick way to get the old behavior.
I only have one alias:
alias rm=trash-rm
EDIT: Sorry. It’s actually
alias rm=trash
@KindaABigDyl @_thebrain_ what is trash-rm?
trash-rm
moves files to the trash bin, as opposed to the usualrm
which instantly deletes them.Should be just
trash
nottrash-rm
, but it’s like the other person said, when you go torm
, it moves it to trash now, instead of deleting, since usually I don’t want to truly delete things (i.e., I don’t raw delete when using a GUI, so I’m bringing that behavior to CLI as well)You can ofc still use the old
rm
and do full deletion. Eithersudo rm
(unless root also hasrm
aliased) or/bin/rm
But also you can do
rm
thentrash-empty
for the same behavior.I’m actually trying a new alias
alias del=/bin/rm
so that I have a quick way to get the old behavior.Should that not be
alias rm=trash-put
?My distro tells me that
trash-rm
comes from the packagetrash-cli
and the README of that says thattrash-rm
removes files from the trashcan.Yeah I was mistaken. It’s actually
alias rm=trash
(nottrash-put
either)