CmdID

CmdID / Commands

gio-trash

Move files to the trash bin. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Move files to the trash bin. Used by GNOME to handle trash.

Move specific files to the trash bin

gio trash path/to/file_or_directory1 path/to/file_or_directory2 ...Identify

List trash bin items

gio trash --listIdentify

Empty the trash

gio trash --emptyIdentify

Restore a specific item from trash using its ID

gio trash trash://item_idIdentify