LinuxCommandLibrary

gio-trash

Move files to the trash bin.

TLDR

Move specific files to the trash bin

$ gio trash [path/to/file_or_directory1 path/to/file_or_directory2 ...]
copy


List trash bin items
$ gio trash --list
copy


Restore a specific item from trash using its ID
$ gio trash trash://[id]
copy

Copied to clipboard