This article spotlights alternative tools to rm.
The software featured here is free and open source. All tools provide a command-line interface (CLI) unless otherwise stated.
Alternatives to rm | |
---|---|
rip | Deletion tool focused on safety, ergonomics, and performance |
rmw | Trashcan/recycle bin utility for the command line |
trash-cli | Uses the same trashcan used by KDE, GNOME, and XFCE |
safe-rm | Prevent the accidental deletion of important files |
trasher | Replace rm and del by a trash system |
Fast Unix Commands | Provides alternatives for rm and cp |
gomi | A replacement for rm with trashcan functionality, written in Go |
gtrash | CLI Trash manager also written in Go |
Brash | Another CLI trash manager which is similar to trash-cl |
del | Delete command with integrated undelete function |
rm-trash | Replacement for rm which solves the issue of accidental removals |
trashbhuwan | Trashing utility |
del-cli | JavaScript utility for deleting files and directories |
Have we missed any open source alternatives to rm? Please let us know!
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 |
Read 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. |
I use safe-rm. which prevents the accidental deletion of important files
Thanks for your suggestion Dragon32. We’ve added safe-rm.
Fast Unix Commands provides cpz (and rmz)
Added, thanks
You can replace rm with Trasher which has a portable trash directory system
Thanks Daniel, we’ve now added trasher
gomi should be added. It’s compatible with rm
Many thanks Ivan. The support of the community suggesting additional entries is awesome.