mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 17:51:08 +00:00
Update cheatsheets
This commit is contained in:
22
linux/gio-trash
Normal file
22
linux/gio-trash
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user