macOS
brew install rmtrashlocal Homebrew formula metadata
sudo port install rmtrashMacPorts ports tree · sysutils/rmtrash/Portfile · source: api.github.com
brew / rank 5678
Move files and directories to the trash. Version 0.8.0 via Homebrew; verified 2026-09-12. Also installable with nix: nix profile install nixpkgs#rmtrash.
install
brew install rmtrashlocal Homebrew formula metadata
sudo port install rmtrashMacPorts ports tree · sysutils/rmtrash/Portfile · source: api.github.com
nix profile install nixpkgs#rmtrashnixpkgs package indexes · pkgs/by-name/rm/rmtrash/package.nix · source: api.github.com
overview
Move files and directories to the trash
history
rmtrash is a macOS command-line utility that moves files and directories to the system Trash instead of deleting them permanently.
TBXark created rmtrash as a small macOS utility that moves files and directories to the system Trash instead of permanently unlinking them. The current implementation is written in Swift and includes a bundled manual and tests.
The utility evolved toward broad rm-compatible option handling, including recursive deletion, interactive modes, filesystem-boundary control, root preservation, empty-directory removal, and verbose output.
rmtrash is installable through Homebrew, Mint, MacPorts, and Nix, with the latter two channels identified in the supplied package facts. The official README also documents manual binary installation.
The project encourages interactive shell use through del and trash aliases while recommending that users keep permanent rm visibly separate.
Users pass files or directories to rmtrash with familiar rm-style flags. Recursive and interactive modes, preserve-root behavior, one-filesystem traversal, empty-directory handling, and verbose output are supported.
RMTRASH_INTERACTIVE_MODE can select the default prompting mode. The official README recommends aliases such as del or trash while leaving permanent deletion accessible through the full path to rm.
rmtrash gives macOS command-line users recoverable deletion with an interface modeled closely on GNU rm, including recursive, force, interactive, verbose, filesystem-boundary, and root-preservation options.
Its value lies in fitting Finder Trash behavior into familiar shell muscle memory while retaining guardrails such as interactive prompts and preserve-root semantics.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
rmtrash | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/TBXark/rmtrash
install metadata
| Package key | brew:rmtrash |
|---|---|
| Version | 0.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/rmtrash |
| Homepage | https://github.com/TBXark/rmtrash |
| Repository | https://github.com/TBXark/rmtrash |
| License | MIT |
| Source archive | https://github.com/TBXark/rmtrash/archive/refs/tags/0.8.0.tar.gz |
| Last updated | 2026-09-12T10:46:43Z |
| Pulse | updated |
| Bottle | available (on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rmtrash |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
rmtrash
nix profile install nixpkgs#rmtrashrmtrash
sudo port install rmtrashsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.