1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 10:15:23 +02:00
tldr/pages/linux/gio.md

26 lines
500 B
Markdown
Raw Normal View History

# gio
> Handle local and virtual files (GVfs).
> Part of GLib used in GNOME-based systems.
2025-06-29 17:31:19 +03:00
> More information: <https://manned.org/gio>.
- 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}}`