Skip to content

sindresorhus/macos-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos-trash

Move files and folders to the trash

Requires macOS 10.13 or later.

Since macOS 14, there is now a built-in trash command. The benefit of the binary here is that it has a --interactive flag.

Install

brew install macos-trash
mint install sindresorhus/macos-trash
Manually

Download the binary and put it in /usr/local/bin.

Usage

trash [--help | -h] [--version | -v] [--interactive | -i] <path> […]

Build

./build

Related