.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GRESOURCE" "" "" .SH NAME gresource \- GResource tool .\" This has to be duplicated from above to make it machine-readable by `reuse`: .\" SPDX-FileCopyrightText: 2012 Red Hat, Inc. .\" SPDX-License-Identifier: LGPL-2.1-or-later . .SH SYNOPSIS .nf \fBgresource\fP [\-\-section \fISECTION\fP] list \fIFILE\fP [\fIPATH\fP] \fBgresource\fP [\-\-section \fISECTION\fP] details \fIFILE\fP [\fIPATH\fP] \fBgresource\fP [\-\-section \fISECTION\fP] extract \fIFILE\fP \fIPATH\fP \fBgresource\fP sections \fIFILE\fP \fBgresource\fP help [\fICOMMAND\fP] .fi .sp .SH DESCRIPTION .sp \fBgresource\fP offers a simple commandline interface to \fBGResource\fP\&. 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). .sp The file to operate on is specified by the \fBFILE\fP argument. .sp If an ELF file includes multiple sections with resources, it is possible to select which one to operate on with the \fB\-\-section\fP option. Use the \fBsections\fP command to find available sections. .SH COMMANDS .sp \fBlist\fP .INDENT 0.0 .INDENT 3.5 Lists resources. If \fBSECTION\fP is given, only list resources in this section. If \fBPATH\fP is given, only list matching resources. .UNINDENT .UNINDENT .sp \fBdetails\fP .INDENT 0.0 .INDENT 3.5 Lists resources with details. If \fBSECTION\fP is given, only list resources in this section. If \fBPATH\fP is given, only list matching resources. Details include the section, size and compression of each resource. .UNINDENT .UNINDENT .sp \fBextract\fP .INDENT 0.0 .INDENT 3.5 Extracts the resource named by \fBPATH\fP to stdout. Note that resources may contain binary data. .UNINDENT .UNINDENT .sp \fBsections\fP .INDENT 0.0 .INDENT 3.5 Lists sections containing resources. This is only interesting if \fBFILE\fP is an ELF file. .UNINDENT .UNINDENT .sp \fBhelp\fP .INDENT 0.0 .INDENT 3.5 Prints help and exits. .UNINDENT .UNINDENT .\" Generated by docutils manpage writer. .