{
    "mode": "man",
    "parameter": "gresource",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/gresource/1/json",
    "generated": "2026-10-22T12:26:28Z",
    "synopsis": "gresource [--section SECTION] list FILE [PATH]\ngresource [--section SECTION] details FILE [PATH]\ngresource [--section SECTION] extract FILE PATH\ngresource sections FILE\ngresource help [COMMAND]",
    "sections": {
        "NAME": {
            "content": "gresource - GResource tool\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gresource [--section SECTION] list FILE [PATH]\ngresource [--section SECTION] details FILE [PATH]\ngresource [--section SECTION] extract FILE PATH\ngresource sections FILE\ngresource help [COMMAND]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "gresource  offers  a  simple commandline interface to GResource. It lets you list and extract\nresources that have been compiled into a resource file or included in an ELF file  (a  binary\nor a shared library).\n\nThe file to operate on is specified by the FILE argument.\n\nIf  an ELF file includes multiple sections with resources, it is possible to select which one\nto operate on with the --section option. Use the sections command to find available sections.\n",
            "subsections": []
        },
        "COMMANDS": {
            "content": "",
            "subsections": [
                {
                    "name": "list",
                    "content": "Lists resources. If SECTION is given, only list resources in this  section.   If  PATH  is\ngiven, only list matching resources.\n"
                },
                {
                    "name": "details",
                    "content": "Lists resources with details. If SECTION is given, only list resources in this section. If\nPATH  is  given,  only list matching resources. Details include the section, size and com‐\npression of each resource.\n"
                },
                {
                    "name": "extract",
                    "content": "Extracts the resource named by PATH to stdout. Note  that  resources  may  contain  binary\ndata.\n"
                },
                {
                    "name": "sections",
                    "content": "Lists sections containing resources. This is only interesting if FILE is an ELF file.\n"
                },
                {
                    "name": "help",
                    "content": "Prints help and exits.\n\n\nGRESOURCE()"
                }
            ]
        }
    },
    "summary": "gresource - GResource tool",
    "flags": [],
    "examples": [],
    "see_also": []
}