🗑 trash
Pure Swift CLI to move objects to the trash in the same manner as the Finder.
You can Undo
or ⌘+Z
to put back.
Stand alone executable Swift program.
Install
brew install aerobounce/tap/trash
Usage
> trash <Object-Path>...
> STDOUT | trash