Linux Commands Examples

A great documentation place for Linux commands

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]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

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

How can this site be more helpful to YOU ?


give  feedback