Documentation

Alternatives to popular CLI tools: rm

This article spotlights alternative tools to rm.

rm man page

The software featured here is free and open source. All tools provide a command-line interface (CLI) unless otherwise stated.

Alternatives to rm
ripDeletion tool focused on safety, ergonomics, and performance
rmwTrashcan/recycle bin utility for the command line
trash-cli Uses the same trashcan used by KDE, GNOME, and XFCE
safe-rmPrevent the accidental deletion of important files
trasherReplace rm and del by a trash system
Fast Unix CommandsProvides alternatives for rm and cp
gomiA replacement for rm with trashcan functionality, written in Go
gtrashCLI Trash manager also written in Go
BrashAnother CLI trash manager which is similar to trash-cl
delDelete command with integrated undelete function
rm-trashReplacement for rm which solves the issue of accidental removals
trashbhuwanTrashing utility
del-cliJavaScript utility for deleting files and directories
rmzZippy alternative to rm
trashyFeatureful alternative to rm and trash-cli written in Rust
VanishModern, safe file deletion tool with recovery capabilities
trxshSimple and efficient command-line trash manager
Have we missed any open source alternatives to rm? Please let us know!
3
Other alternative tools to rmx

This article has been revamped in line with our recent announcement.


All the CLI tools in this series.

Alternatives to CLI tools
age // awk // bc // cal // cat // cd // chmod // cksum // cloc // cmp // compress // cp // cron // curl // cut // date // dd // df // diff // dig // du // fdisk // file // find // free // ftp // grep // gzip // hexdump // history // jq // kill // less // locate // ls // lsof // make // man // more // mv / ping // ps // psql // rename // rm // sed // split // ssh // stow // strings // sudo // sysctl // tail // talk // tar // telnet // time // top // touch // traceroute // tree // uname // uniq // uptime // vi // watch // Wget // who // whois // xargs

Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
8 Comments
Oldest
Newest Most Voted
Dragon32
Dragon32
3 years ago
Have we missed any open source alternatives to rm? Please let us know!" Read more »

I use safe-rm. which prevents the accidental deletion of important files

Bryce
Bryce
3 years ago
Have we missed any open source alternatives to rm? Please let us know!" Read more »

Fast Unix Commands provides cpz (and rmz)

Daniel James
Daniel James
3 years ago

You can replace rm with Trasher which has a portable trash directory system

Ivan
Ivan
3 years ago
Have we missed any open source alternatives to rm? Please let us know!" Read more »

gomi should be added. It’s compatible with rm