rmtrash
« Back to VersTracker
Description:
Move files and directories to the trash
Type: Formula  |  Latest Version: 0.6.8@0  |  Tracked Since: Dec 25, 2025
Links: Homepage  |  GitHub  |  Docs  |  formulae.brew.sh
Stars: 91  |  Language: Swift  |  Category: System utilities
Tags: command-line file-management macos trash utilities
Install: brew install rmtrash
About:
rmtrash is a command-line utility that moves files and directories to the macOS Trash instead of permanently deleting them. It provides a safer alternative to the rm command by allowing users to recover accidentally deleted files. The tool integrates with the system's native trash functionality for a seamless user experience.
Key Features:
  • Moves files to macOS Trash instead of permanent deletion
  • Command-line interface for quick file management
  • Preserves original file metadata and location info
  • Written in Swift for native macOS performance
Use Cases:
  • Safely deleting files from the command line with recovery option
  • Cleaning up temporary files without risk of permanent loss
  • Scripting file operations that need trash functionality
Alternatives:
  • trash – Similar functionality, but rmtrash is Swift-based and may have different implementation
  • rm -rf – Permanent deletion without recovery, higher risk of data loss
Version History
Detected Version Rev Change Commit
Dec 25, 2025 12:21pm 0.6.8 0 VERSION_BUMP 561aa8ba
Jan 16, 2025 11:44pm 0 NEW 2c611cd5
Jan 16, 2025 4:28pm 0 VERSION_BUMP 7a705c56