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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
8 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Dragon32
Dragon32
2 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
2 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
2 years ago

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

Ivan
Ivan
2 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