2025-03-14 21:59:59 -06:00
|
|
|
# gio trash
|
|
|
|
|
|
|
|
|
|
> Move files to the trash bin.
|
|
|
|
|
> Used by GNOME to handle trash.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://manned.org/gio>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Empty the trash:
|
|
|
|
|
|
|
|
|
|
`gio trash --empty`
|
|
|
|
|
|
2025-03-14 21:59:59 -06:00
|
|
|
- Restore a specific item from trash using its ID:
|
|
|
|
|
|
|
|
|
|
`gio trash trash://{{id}}`
|