commands.sh

gio trash

linux

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

More info →

Examples (4)

Move specific files to the trash bin

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

List trash bin items

gio trash --list

Empty the trash

gio trash --empty

Restore a specific item from trash using its ID

gio trash trash://id
made by @shridhargupta | data from tldr-pages