Open papanito opened 3 years ago
Here is a problem: even the idea of a trash bin is not Unix-way.
@slavaGanzin maybe not, but modern Linux desktop have implemented the concept of trash, so why not use it on the shell as well?
Just saying it doesn't fit in this repo. You'll see
because the functionality is different
The functionality of bat
is different from cat
. I was excited to use bat
but after several months I've found that I don't use it very often. bat
does not completely replace cat
rm would not replace it
In my experience it does. I only use rm
explicitly as /bin/rm
a couple times a month but I live in shell and I'm always deleting stuff. I even use trash-cli
on my phone because it is faster than using rm
. I have a script which periodically runs trash-empty 20 -f
. This has saved me many times when accidentally deleting something
I think these lines in the sand are not completely clear
[trash-cli] is better than just mv'ing a file into ~/.local/share/Trash because it stores metadata such as where the file was originally so you can restore (un-delete) it if need be.
https://askubuntu.com/questions/13779/why-is-there-no-more-trash
both trashy and trash-cli could seen as replacements for rm