MAN page from OpenSuSE 12.X glib2-tools-2.31.20-186.1.x86_64.rpm
GRESOURCE
Section: User Commands (1)
Updated: 03/05/2012
Index 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 toGResource. 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 theFILEargument.
If an elf file includes multiple sections with resources, it is possible to select which one to operate on with the--sectionoption. Use thesectionscommand to find available sections.
Commands
list
- Lists resources. IfSECTIONis given, only list resourcs in this section. IfPATHis given, only list matching resources.
details
- Lists resources with details. IfSECTIONis given, only list resources in this section. IfPATHis given, only list matching resources. Details include the section, size and compression of each resource.
extract
- Extracts the resource named byPATHto stdout. Note that resources may contain binary data.
sections
- Lists sections containing resources. This is only interesting ifFILEis an elf file.
help
- Prints help and exits.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- Commands
This document was created byman2html,using the manual pages.