mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 05:55:28 +02:00
gio: add page (#16622)
* gio: add page * Update pages/linux/gio.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
93aaf94a1a
commit
60c61f3174
1 changed files with 25 additions and 0 deletions
25
pages/linux/gio.md
Normal file
25
pages/linux/gio.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# gio
|
||||
|
||||
> Handle local and virtual files (GVfs).
|
||||
> Part of GLib used in GNOME-based systems.
|
||||
> More information: <https://manpages.ubuntu.com/manpages/focal/man1/gio.1.html>.
|
||||
|
||||
- Open a file with the default application (e.g. PDF, image):
|
||||
|
||||
`gio open {{path/to/file}}`
|
||||
|
||||
- List files in a directory:
|
||||
|
||||
`gio list {{path/to/directory}}`
|
||||
|
||||
- Show information about a file:
|
||||
|
||||
`gio info {{path/to/file}}`
|
||||
|
||||
- Copy a file:
|
||||
|
||||
`gio copy {{path/to/source}} {{path/to/destination}}`
|
||||
|
||||
- Send a file to the trash (reversible):
|
||||
|
||||
`gio trash {{path/to/file}}`
|
Loading…
Add table
Reference in a new issue