Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

gresource (1)

Name

gresource - GResource tool

Synopsis

gresource [--section SECTION] list FILE [PATH]

gresource [--section SECTION] details FILE [PATH]

gresource [--section SECTION] extract FILE PATH

gresource sections FILE

gresource help [COMMAND]

Description

GRESOURCE(1)                     User Commands                    GRESOURCE(1)



NAME
       gresource - GResource tool

SYNOPSIS
       gresource [--section SECTION] list FILE [PATH]

       gresource [--section SECTION] details FILE [PATH]

       gresource [--section SECTION] extract FILE PATH

       gresource sections FILE

       gresource help [COMMAND]

DESCRIPTION
       gresource offers a simple commandline interface to GResource. It lets
       you list and extract resources that have been compiled into a resource
       file or included in an elf file (a binary or a shared library).

       The file to operate on is specified by the FILE argument.

       If an elf file includes multiple sections with resources, it is
       possible to select which one to operate on with the --section option.
       Use the sections command to find available sections.

COMMANDS
       list
           Lists resources. If SECTION is given, only list resources in this
           section. If PATH is given, only list matching resources.

       details
           Lists resources with details. If SECTION is given, only list
           resources in this section. If PATH is given, only list matching
           resources. Details include the section, size and compression of
           each resource.

       extract
           Extracts the resource named by PATH to stdout. Note that resources
           may contain binary data.

       sections
           Lists sections containing resources. This is only interesting if
           FILE is an elf file.

       help
           Prints help and exits.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/glib2    |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://download.gnome.org/sources/glib/2.70/glib-2.70.5.tar.xz.

       Further information about this software can be found on the open source
       community website at https://wiki.gnome.org/Projects/GLib/.



GIO                                                               GRESOURCE(1)