3 ms·
A way better solution is to alias trash-d as a drop-in replacement for `rm` : https://github.com/rushsteve1/trash-d https://github.com/rushsteve1/trash-d
by cassepipe 3y ago
A way better solution is to alias trash-d as a drop-in replacement for `rm` :
https://github.com/rushsteve1/trash-d https://github.com/rushsteve1/trash-d
- ttyprintk 3y agoAlso, ‘gio trash’ is widespread.
- cassepipe 3y agoNever heard of it before, let's man gio : gio is a utility that makes many of the GIO features available Ok, thanks I guess :D
- ttyprintk 3y agoWhat I mean is: a precept of command-line fluency is to be able to drop onto arbitrary systems and change them in ways predictable to the next sysadmin. ‘gio’ is a vague entry point to a library, and even if the next sysadmin doesn’t know about gnome, the files you trashed end up in a common recycling bin. On the other hand, KDE has a syntax that deserves an alias.