cmd/gio
< cmd
Jump to navigation
Jump to search
About
gio is a command line interface to the GIO subsystem.
Commands
| subcommand | argument(s) | purpose |
|---|---|---|
| help | [<COMMAND>] | Displays a short synopsis of the available commands or provides detailed help on a specific command. |
| version | Prints the GLib version to which gio belongs. | |
| cat | <LOCATION>... | Concatenates the given files and prints them to the standard output. |
| copy | [<OPTION>...] <SOURCE>... <DESTINATION> | Copies one or more files from <SOURCE> to <DESTINATION>; similar to cp. |
| info | [<OPTION>...] <LOCATION>... | Shows information about the given locations; similar to ls. |
| launch | <DESKTOP-FILE> [<FILE-ARG>...] | Launch a desktop file from any location given.
|
| list | [<OPTION>...] [<LOCATION>...] | Lists the contents of the given locations; similar to ls. |
| mime | <MIMETYPE> [<HANDLER>] |
|
| mkdir | [<OPTION>...] <LOCATION>... | Creates directories; similar to mkdir.
|
| monitor | [<OPTION>...] [<LOCATION>...] | Monitors files or directories for changes |
| mount | [<OPTION>...] [<LOCATION>...] | Provides commandline access to various aspects of GIO’s mounting functionality. |
| move | [<OPTION>...] <SOURCE>... <DESTINATION> | Moves one or more files from SOURCE to DESTINATION; similar to mv. |
| open | [<file> or <URL>] | Opens files with the default application that is registered to handle files of this type; related to xdg-open.
|
| rename | <LOCATION> <NAME> | Renames a file; similar to rename. |
| remove | [<OPTION>...] <LOCATION>... | Deletes each given file; similar to rm.
|
| save | [<OPTION>...] <DESTINATION> | Reads from standard input and saves the data to the given location. |
| set | [<OPTION>...] <LOCATION> <ATTRIBUTE> <VALUE>... | Sets a file attribute on a file. |
| trash | [<OPTION>...] [<LOCATION>...] | Sends files or directories to the ‘Trashcan’ or restore them from ‘Trashcan’. |
| tree | [<OPTION>...] [<LOCATION>...] | Lists the contents of the given locations recursively, in a tree-like format; similar to tree.
|