mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
fb0d7d91a8
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
588 B
588 B
gio
Handle local and virtual files (GVfs). Part of GLib used in GNOME-based systems. 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}}
- Launch an application from a
.desktopfile:
gio launch {{path/to/file}}.desktop