Hacker News new | ask | show | jobs
by pabs3 1348 days ago
Reminds me somewhat of trash-cli:

https://github.com/andreafrancia/trash-cli

1 comments

The benefit of rmt over trash-cli is that rmt has almost the same set of arguments as the rm command, and it is easier to alias between rm and rmt than thrash-cli. Also, rmt is written in rust and, therefore, more easily installable because you have to move the binary to usr/local/bin than trash-cli; it is necessary to install a python interpreter.
In most situations installing trash-cli and its dependencies is a single command (apt/dnf/etc), while with rmt you need to pick the right tarball for your system, download it, unpack it and then install the binary, or manually build it from source.
It's my first project in rust, I didn't really know how to go about getting the most practical installation possible. But thanks for the feedback, I'll work to make the process easier.
Not sure about rust stuff, but trash-cli is simply just packaged for all the commonly used distros.

https://repology.org/project/trash-cli/versions