# gresource(1) - man - phpman

[GRESOURCE(1)](https://www.chedong.com/phpMan.php/man/GRESOURCE/1/markdown)                                User Commands                               [GRESOURCE(1)](https://www.chedong.com/phpMan.php/man/GRESOURCE/1/markdown)



## 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.



GIO                                                                                     [GRESOURCE(1)](https://www.chedong.com/phpMan.php/man/GRESOURCE/1/markdown)
