trash is a small command-line program that moves files or folders to the trash.

WWW: https://github.com/ali-rantakari/trash
