mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
17 lines
366 B
Markdown
17 lines
366 B
Markdown
# gio trash
|
|
|
|
> Move files to the trash bin.
|
|
> Used by GNOME to handle trash.
|
|
> More information: <https://manned.org/gio.1>.
|
|
|
|
- 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`
|
|
|
|
- Restore a specific item from trash using its ID:
|
|
|
|
`gio trash trash://{{id}}`
|