rmw for Mac
Trashcan/recycle bin utility for the command-line
rmw — overview
rmw-0.10.0 Description
rmw (ReMove to Waste) is a safe-remove and restore utility for the command line. By default it uses your desktop's trash (the FreeDesktop.org Trash specification) and needs no setup, though you can add your own waste folders. It can also purge items after a set number of days.
Web site:
[![codeql-badge]][codeql-url] [![c-cpp-badge]][c-cpp-url]
rmw is for people who sometimes use rm or rmdir at the command line and would occasionally like an alternative choice. It's not intended or designed to act as a replacement for rm, as it's more closely related to how the FreeDesktop.org trash system functions.
Features and Usage
See the manual on the website
Screenshots
See the Screenshots page on the website.
Contact / Support
Bug Reports General Help, Support, Discussion
Installation
rmw is available in the homebrew and linuxbrew repositories; or there may may be a binary package available for your OS. You can view a list at Repology to see in which repositories rmw is included. Since v0.7.09, x86_64 AppImages are available.
AppImages and maintainer-created amd64 Debian packages are available in the releases section.
Installing from source
Dependencies
glib2 libncursesw (ncurses-devel on some systems, such as CentOS) gettext (or use '-Dnls=false' when configuring with meson if you only need English language support)
If you're building from source, you will need the libncursesw(5 or 6)-dev package from your operating system distribution. On some systems just the ncurses packages is needed, and it's often already installed.
Linux only
linux-headers
linux/fs.h from the headers package is required for btrfs/bcachefs reflink support. meson setup will fail if the header is missing. To bypass the check and exclude support (which is only necessary if you want rmw to be able to move files between subvolumes) add
-Dwith-reflink=false
to the meson setup options.
Compiling
As a normal user:
(This examples places the generated files to a separate folder, but you can run 'configure' from any directory you like.)
meson setup builddir cd builddir ninja
Use meson configure in the build dir to view or change available options.
Installing without superuser privileges
If you would like to install rmw without superuser privileges, use a prefix that you have write access to. Example:
meson setup -Dprefix=$HOME/.local builddir
or while in the build dir
meson configure -Dprefix=$HOME/.local
To install:
meson install
In the example above, the rmw binary will be installed to $HOME/.local/bin and documentation to $HOME/.local/doc.
Uninstall
ninja uninstall (uninstalls the program if installed with 'ninja install`)
Docker
see the Docker README
Details
命令行的垃圾桶/回收站工具
How to install rmw
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-07-31; current version v0.10.0, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.10.0 | 2026-07-31 | Stable | 255 KB | Download | — | Download |
| v0.9.5 | 2026-04-08 | Stable | 224 KB | — | — | Download |
| v0.9.4 | 2025-11-07 | Stable | 221 KB | — | — | Download |
| v0.9.3 | 2024-11-06 | Stable | 218 KB | — | — | Download |
| v0.9.2 | 2024-03-18 | Stable | 212 KB | — | — | Download |
| v0.9.1 | 2023-05-17 | Stable | 89 KB | — | — | Download |
| v0.9.0 | 2023-02-16 | Stable | 88 KB | — | — | Download |
| v0.8.1 | 2022-01-26 | Stable | 116 KB | — | — | Download |
| v0.8.0 | 2021-06-28 | Stable | 110 KB | — | — | Download |
| v0.7.09 | 2021-05-06 | Stable | 291 KB | — | — | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| rmw | v0.10.0 | GPL-3.0-or-later | CLI | 1 |
| etsh | 5.4.0 | BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND LicenseRef-Homebrew-public-domain | CLI | 6 |
| bchunk | 1.2.2 | GPL-2.0-or-later | CLI | 178 |
| trash-cli | 0.26.9.29 | GPL-2.0-or-later | CLI | 4,422 |
Similar apps: Command-line Tools
etsh
etsh and tsh are two ports of the V6 UNIX-era (circa 1975) /bin/sh to modern systems, derived…bchunk
Convert CD images from .bin/.cue to .iso/.cdrtrash-cli
trash-cli trashes files recording the original path, deletion date, and permissions.openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…Categories: Command-line Tools