This program is a replacement of macOS's
rm command, this
macrm command moves deleted files to trash.
That is not just a move, of cause it is possible to undo.
How to install
Install via self build
$ git clone https://github.com/satosystems/macrm.git ... $ cd macrm ... $ make install ... $
Install via Homebrew
$ brew install satosystems/tap/macrm ... $
Install via Hackage
$ stack install macrm ... $
How to use
It is same as
macrm --help for details.