sindresorhus / macos-trash

Move files and folders to the trash

Repository from Github https://github.comsindresorhus/macos-trashRepository from Github https://github.comsindresorhus/macos-trash

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

About

Move files and folders to the trash

License:MIT License


Languages

Language:Swift 96.6%Language:Shell 3.4%