From 60c61f3174d2e232fff1cecec4ba68232f47ceed Mon Sep 17 00:00:00 2001 From: Tianpai <47292509+tianpai@users.noreply.github.com> Date: Mon, 26 May 2025 21:21:02 -0400 Subject: [PATCH] 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> --- pages/linux/gio.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/gio.md diff --git a/pages/linux/gio.md b/pages/linux/gio.md new file mode 100644 index 0000000000..c7bc9da027 --- /dev/null +++ b/pages/linux/gio.md @@ -0,0 +1,25 @@ +# gio + +> Handle local and virtual files (GVfs). +> Part of GLib used in GNOME-based systems. +> More information: . + +- 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}}`