man-pages/man1/gresource.1.html
2021-03-31 01:06:50 +01:00

135 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GRESOURCE</TITLE>
</HEAD><BODY>
<H1>GRESOURCE</H1>
Section: User Commands (1)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
gresource - GResource tool
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>gresource</B> [--section&nbsp;<I>SECTION</I>] list <I>FILE</I> [<I>PATH</I>]
<DT id="2">
<B>gresource</B> [--section&nbsp;<I>SECTION</I>] details <I>FILE</I> [<I>PATH</I>]
<DT id="3">
<B>gresource</B> [--section&nbsp;<I>SECTION</I>] extract <I>FILE</I> <I>PATH</I>
<DT id="4">
<B>gresource</B> sections <I>FILE</I>
<DT id="5">
<B>gresource</B> help [<I>COMMAND</I>]
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<B>gresource</B>
<DD>offers a simple commandline interface to
<B>GResource</B>. 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).
<P>
The file to operate on is specified by the
<I>FILE</I>
argument.
<P>
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.
<A NAME="lbAE">&nbsp;</A>
<H2>COMMANDS</H2>
<P>
<B>list</B>
<DL COMPACT><DT id="6"><DD>
Lists resources. If
<I>SECTION</I>
is given, only list resources in this section. If
<I>PATH</I>
is given, only list matching resources.
</DL>
<P>
<B>details</B>
<DL COMPACT><DT id="7"><DD>
Lists resources with details. If
<I>SECTION</I>
is given, only list resources in this section. If
<I>PATH</I>
is given, only list matching resources. Details include the section, size and compression of each resource.
</DL>
<P>
<B>extract</B>
<DL COMPACT><DT id="8"><DD>
Extracts the resource named by
<I>PATH</I>
to stdout. Note that resources may contain binary data.
</DL>
<P>
<B>sections</B>
<DL COMPACT><DT id="9"><DD>
Lists sections containing resources. This is only interesting if
<I>FILE</I>
is an elf file.
</DL>
<P>
<B>help</B>
<DL COMPACT><DT id="10"><DD>
Prints help and exits.
</DL>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="14"><A HREF="#lbAE">COMMANDS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:15 GMT, March 31, 2021
</BODY>
</HTML>