Blame man/ostree-ls.xml

Packit Service 2a3f3d
 
Packit Service 2a3f3d
Packit Service 2a3f3d
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
Packit Service 2a3f3d
Packit Service 2a3f3d
Packit Service 2a3f3d
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
Packit Service 2a3f3d
Packit Service 2a3f3d
SPDX-License-Identifier: LGPL-2.0+
Packit Service 2a3f3d
Packit Service 2a3f3d
This library is free software; you can redistribute it and/or
Packit Service 2a3f3d
modify it under the terms of the GNU Lesser General Public
Packit Service 2a3f3d
License as published by the Free Software Foundation; either
Packit Service 2a3f3d
version 2 of the License, or (at your option) any later version.
Packit Service 2a3f3d
Packit Service 2a3f3d
This library is distributed in the hope that it will be useful,
Packit Service 2a3f3d
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 2a3f3d
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 2a3f3d
Lesser General Public License for more details.
Packit Service 2a3f3d
Packit Service 2a3f3d
You should have received a copy of the GNU Lesser General Public
Packit Service 2a3f3d
License along with this library; if not, write to the
Packit Service 2a3f3d
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit Service 2a3f3d
Boston, MA 02111-1307, USA.
Packit Service 2a3f3d
-->
Packit Service 2a3f3d
Packit Service 2a3f3d
<refentry id="ostree">
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refentryinfo>
Packit Service 2a3f3d
        <title>ostree ls</title>
Packit Service 2a3f3d
        <productname>OSTree</productname>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <authorgroup>
Packit Service 2a3f3d
            <author>
Packit Service 2a3f3d
                <contrib>Developer</contrib>
Packit Service 2a3f3d
                <firstname>Colin</firstname>
Packit Service 2a3f3d
                <surname>Walters</surname>
Packit Service 2a3f3d
                <email>walters@verbum.org</email>
Packit Service 2a3f3d
            </author>
Packit Service 2a3f3d
        </authorgroup>
Packit Service 2a3f3d
    </refentryinfo>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refmeta>
Packit Service 2a3f3d
        <refentrytitle>ostree ls</refentrytitle>
Packit Service 2a3f3d
        <manvolnum>1</manvolnum>
Packit Service 2a3f3d
    </refmeta>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refnamediv>
Packit Service 2a3f3d
        <refname>ostree-ls</refname>
Packit Service 2a3f3d
        <refpurpose>List file paths</refpurpose>
Packit Service 2a3f3d
    </refnamediv>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsynopsisdiv>
Packit Service 2a3f3d
            <cmdsynopsis>
Packit Service 2a3f3d
                <command>ostree ls</command> <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="req">COMMIT</arg> <arg choice="opt" rep="repeat">PATHS</arg>
Packit Service 2a3f3d
            </cmdsynopsis>
Packit Service 2a3f3d
    </refsynopsisdiv>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Description</title>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <para>
Packit Service 2a3f3d
            Prints a list of file paths within the given commit, and within the given path(s) if specified.  The first letter of the file line output specifies the type: "-" for regular file, "d" for directory, "l" for symbolic link.  See EXAMPLE section for more detail on the specific output.
Packit Service 2a3f3d
        </para>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Options</title>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <variablelist>
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--dironly</option>,<option>-d</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Do not recurse into directory arguments.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--recursive</option>,<option>-R</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Print directories recursively.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--checksum</option>,<option>-C</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Print checksum.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--xattrs</option>,<option>-X</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Print extended attributes.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--nul-filenames-only</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Print only filenames, NUL separated.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
        </variablelist>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Example</title>
Packit Service 2a3f3d
        <para><command>$ ostree ls my-branch</command></para>
Packit Service 2a3f3d
<programlisting>
Packit Service 2a3f3d
        d00644 0 0    0 /
Packit Service 2a3f3d
        -00644 0 0    2 /helloworld.txt
Packit Service 2a3f3d
        d00755 0 0    0 /testdirectory
Packit Service 2a3f3d
</programlisting>
Packit Service 2a3f3d
Packit Service 2a3f3d
<para>Here, the first column is the file-type symbol (as explained in the DESCRIPTION section) followed by the S_IFMT file type.  The next two columns (here: 0 0) are respectively the user ID and group ID for the file.  After the break, the next number represents that file's standard size.  The final column is the file path.</para>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
</refentry>