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
- List files in a directory:
gio list
- Show information about a file:
gio info
- Copy a file:
gio copy
- Send a file to the trash (reversible):
gio trash
- Empty the trash:
gio trash --empty
- Launch an application from a
.desktopfile:
gio launch .desktop
- Mark a
.desktopfile as trusted, allowing it to be executed:
gio set .desktop metadata::trusted true
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
