Add a new gio commandline tool

Desktop / GNOME / GLib - Matthias Clasen [redhat.com] - 1 July 2016 15:01 UTC

This command collects the various commandline utilities that are currently shipped in gvfs, and unifies them under a single, command-style binary.

The tools just use GIO APIs, so it makes sense for them to live here.

9edba4e Add a new gio commandline tool
gio/Makefile.am | 30 ++
gio/gio-tool-cat.c | 154 +++++++
gio/gio-tool-copy.c | 218 +++++++++
gio/gio-tool-info.c | 325 ++++++++++++++
gio/gio-tool-list.c | 228 ++++++++++
gio/gio-tool-mime.c | 176 ++++++++
gio/gio-tool-mkdir.c | 108 +++++
gio/gio-tool-monitor.c | 278 ++++++++++++
gio/gio-tool-mount.c | 1174 ++++++++++++++++++++++++++++++++++++++++++++++++
gio/gio-tool-move.c | 211 +++++++++
gio/gio-tool-open.c | 97 ++++
gio/gio-tool-remove.c | 94 ++++
gio/gio-tool-rename.c | 99 ++++
gio/gio-tool-save.c | 193 ++++++++
gio/gio-tool-set.c | 195 ++++++++
gio/gio-tool-trash.c | 135 ++++++
gio/gio-tool-tree.c | 285 ++++++++++++
gio/gio-tool.c | 316 +++++++++++++
gio/gio-tool.h | 52 +++
19 files changed, 4368 insertions(+)

Upstream: git.gnome.org


  • Share