1GRESOURCE(1) User Commands GRESOURCE(1)
2
3
4
6 gresource - GResource tool
7
9 gresource [--section SECTION] list FILE [PATH]
10
11 gresource [--section SECTION] details FILE [PATH]
12
13 gresource [--section SECTION] extract FILE PATH
14
15 gresource sections FILE
16
17 gresource help [COMMAND]
18
20 gresource offers a simple commandline interface to GResource. It lets
21 you list and extract resources that have been compiled into a resource
22 file or included in an elf file (a binary or a shared library).
23
24 The file to operate on is specified by the FILE argument.
25
26 If an elf file includes multiple sections with resources, it is
27 possible to select which one to operate on with the --section option.
28 Use the sections command to find available sections.
29
31 list
32 Lists resources. If SECTION is given, only list resources in this
33 section. If PATH is given, only list matching resources.
34
35 details
36 Lists resources with details. If SECTION is given, only list
37 resources in this section. If PATH is given, only list matching
38 resources. Details include the section, size and compression of
39 each resource.
40
41 extract
42 Extracts the resource named by PATH to stdout. Note that resources
43 may contain binary data.
44
45 sections
46 Lists sections containing resources. This is only interesting if
47 FILE is an elf file.
48
49 help
50 Prints help and exits.
51
52
53
54GIO GRESOURCE(1)