gio trash

Move files to the trash bin. Used by GNOME to handle trash. More information: https://manned.org/gio.1.

gio trash {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}

gio trash --list

gio trash trash://{{id}}