Overview of the GIO commandline tool
mainThe gio utility provides a command-line interface for GIO (Gnome Input/Output) features. Unlike traditional utilities that operate only on local files, gio commands can use GIO locations (URIs), such as smb://server/resource/file.txt.
Important Usage Notes:
- URIs vs Paths: Plain filenames containing a colon (
:) are interpreted as URIs with unknown protocols. To treat such a filename as a local path, prefix it with./or use thefile:protocol. - Mount Visibility:
giofocuses on mounts relevant to the user (like removable drives). It does not show all system mounts, so its output differs from tools likefdisk.