snippetbashTip
gio trash — Move files to the trash bin. Used by GNOME to handle trash. More information: <https://manned.org/gi
Viewed 0 times
thegio trashcommandfilesclimovebintrash
linux
Problem
How to use the
gio trash command: Move files to the trash bin. Used by GNOME to handle trash. More information: <https://manned.org/gio>.Solution
gio trash — Move files to the trash bin. Used by GNOME to handle trash. More information: <https://manned.org/gio>.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 --listEmpty the trash:
gio trash --emptyRestore a specific item from trash using its ID:
gio trash trash://{{id}}Code Snippets
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 --listEmpty the trash
gio trash --emptyRestore a specific item from trash using its ID
gio trash trash://{{id}}Context
tldr-pages: linux/gio trash
Revisions (0)
No revisions yet.