Alternatives to trash-cli
A command-line interface to the FreeDesktop.org trash can for deleting and restoring files safely. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
trash-cli
A command-line interface to the FreeDesktop.org trash can for deleting and restoring files safely.
Replacements
Listings that take over the same core job as trash-cli.
rip2
A Rust command-line replacement for rm that moves deleted files to a graveyard so you can undo.
rip2 moves deleted files to its own graveyard rather than the FreeDesktop trash, so desktop file managers will not see them, and the graveyard may clear on reboot.
Similar software
Related functionality, not a direct replacement.
GNU Coreutils
The core GNU file, shell and text utilities, including ls, cp, mv and sort.
fclones
A command-line tool that finds groups of identical files and removes the copies you no longer need.
fdupes
A command-line program that finds duplicate files in chosen directories and can delete them.
rmlint
A fast command-line tool that finds duplicate files, empty directories and other filesystem clutter.
Kondo
A tool that finds and deletes build artifacts and dependency folders from software projects.
xcp
A partial clone of the Unix cp command with progress feedback and optimisations for some copy tasks.