trash-cli is a command line interface to the FreeDesktop.org trashcan.