This article covers how to install Autotrash on Ubuntu system. With Autotrash, you can automatically delete the files residing in the Trash based on the conditions you specified.
trash-cli is a command-line interface to the trash-can used by Linux Systems.
The trash-cli is present in repositories of most of the Linux Distributions.
To remove Autotrash from Ubuntu:
Run the command:
$ sudo snap remove autotrash-unofficial