Automic VaultAutomic Vault

brew

macos-trash mit Homebrew, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für macos-trash in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install macos-trash

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install macos-trash

MacPorts ports tree · sysutils/macos-trash/Portfile · Quelle: api.github.com

Überblick

Paketzusammenfassung

Move files and folders to the trash

Befehle und Aliase

  • trash

Verlauf

Projektgeschichte und Nutzung

macos-trash is a Swift command-line tool that moves files and folders to the macOS Trash instead of deleting them directly.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2015: Official GitHub repository created.
  • 2024: macOS 15 introduced a built-in `trash` command, according to the project README.
  • 2026: Repository activity continued through commits pushed to the default branch.

Related projects

  • The README links related projects including the cross-platform Node.js `trash`, `empty-trash`, `macos-wallpaper`, and `do-not-disturb`.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

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.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 4 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
trashcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-08
Manager-Version3.0.0
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv3.0.0

https://github.com/sindresorhus/macos-trash

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:macos-trash
Version3.0.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/macos-trash
Homepagehttps://github.com/sindresorhus/macos-trash
Repositoryhttps://github.com/sindresorhus/macos-trash
Upstream-Dokumentationhttps://github.com/sindresorhus/macos-trash#readme
LizenzMIT
Quellarchivhttps://github.com/sindresorhus/macos-trash/archive/refs/tags/v3.0.0.tar.gz
Von macOS bereitgestellte Bibliothekenswift
Bottleverfügbar (auf arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemacos-trash
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • osx-trash
  • trash
  • trash-cli
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

MacPorts95%

macos-trash

sudo port install macos-trash
  • normalized package name match
  • Abgeglichen nach: Macos Trash
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/macos-trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

trash

sudo port install trash
  • installed executable or alias match
  • Abgeglichen nach: Trash
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment