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
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 // find // ftp // grep // gzip // hexdump // history // jq // kill // less // locate // ls // lsof // make // man // more // mv / ping // ps // psql // rename // rm // sed // split // ssh // 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 SoftwareRead our complete collection of recommended free and open source software. Our curated compilation covers all categories of software.

The software collection forms part of our series of informative articles for Linux enthusiasts. There are hundreds of in-depth reviews, open source alternatives to proprietary software from large corporations like Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

There are also fun things to try, hardware, free programming books and tutorials, and much more.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

8 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Dragon32
Dragon32
1 year 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
1 year 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
1 year ago

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

Ivan
Ivan
1 year 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