macOS
brew install macos-trashlocal Homebrew formula metadata
sudo port install macos-trashMacPorts ports tree · sysutils/macos-trash/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für macos-trash in AI-Agent-Workflows.
Installation
brew install macos-trashlocal Homebrew formula metadata
sudo port install macos-trashMacPorts ports tree · sysutils/macos-trash/Portfile · Quelle: api.github.com
Überblick
Move files and folders to the trash
Verlauf
macos-trash is a Swift command-line tool that moves files and folders to the macOS Trash instead of deleting them directly.
The official repository was created in January 2015. The current README describes a macOS 13-or-later utility and notes that, although macOS 15 added a built-in `trash` command, this package still provides an interactive flag and fixes Put Back behavior.
The README documents installation through Homebrew, Mint, and manual binary download, while the batch input records Homebrew and MacPorts packaging. Repository metadata captured during this run showed hundreds of GitHub stars, reflecting steady interest in safer command-line deletion on macOS.
The documented CLI shape is `trash [--help | -h] [--version | -v] [--interactive | -i] <path> ...`. The README also suggests aliasing `rm` to `trash` for users who want a safer default in their shell.
macos-trash fills the long-standing gap between Unix `rm` and Finder's Trash. For package users, it is the kind of small native CLI that makes scripts safer while preserving macOS-specific behavior such as recoverable trash items.
Sicherheitslage
Für macos-trash wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
trash | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/sindresorhus/macos-trash
Installationsmetadaten
| Paketschlüssel | brew:macos-trash |
|---|---|
| Version | 3.0.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/macos-trash |
| Homepage | https://github.com/sindresorhus/macos-trash |
| Repository | https://github.com/sindresorhus/macos-trash |
| Upstream-Dokumentation | https://github.com/sindresorhus/macos-trash#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/sindresorhus/macos-trash/archive/refs/tags/v3.0.0.tar.gz |
| Von macOS bereitgestellte Bibliotheken | swift |
| Bottle | verfügbar (auf arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | macos-trash |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
macos-trash
sudo port install macos-trashtrash
sudo port install trashQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.