<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

<!-- Process this file with docbook-to-man to generate an nroff manual
     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
     less'.  A typical entry in a Makefile or Makefile.am is:

manpage.1: manpage.sgml
	docbook-to-man $< > $@


	The docbook-to-man binary is found in the docbook-to-man package.
	Please remember that if you create the nroff version in one of the
	debian/rules file targets (such as build), you will need to include
	docbook-to-man in your Build-Depends control field.

  -->

  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
  <!ENTITY dhfirstname "<firstname>Niklas</firstname>">
  <!ENTITY dhsurname   "<surname>Vainio</surname>">
  <!-- Please adjust the date whenever revising the manpage. -->
  <!ENTITY dhdate      "<date>June 19, 2004</date>">
  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
       allowed: see man(7), man(1). -->
  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
  <!ENTITY dhemail     "<email>niklas.vainio@iki.fi</email>">
  <!ENTITY dhusername  "Niklas Vainio">
  <!ENTITY dhucpackage "<refentrytitle>UNRAR-FREE</refentrytitle>">
  <!ENTITY dhpackage   "unrar-free">

  <!ENTITY debian      "<productname>Debian</productname>">
  <!ENTITY gnu         "<acronym>GNU</acronym>">
  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
  <refentryinfo>
    <address>
      &dhemail;
    </address>
    <author>
      &dhfirstname;
      &dhsurname;
    </author>
    <copyright>
      <year>2004</year>
      <holder>&dhusername;</holder>
    </copyright>
    &dhdate;
  </refentryinfo>
  <refmeta>
    &dhucpackage;

    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&dhpackage;</refname>

    <refpurpose>extract files from rar archives</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&dhpackage;</command>

           <arg>-xtfp?V</arg>
	   <arg>--extract</arg>
	   <arg>--list</arg>
	   <arg>--force</arg>
	   <arg>--extract-newer</arg>
	   <arg>--extract-no-paths</arg>
	   <arg>--password</arg>
	   <arg>--help</arg>
	   <arg>--usage</arg>
	   <arg>--version</arg>
	   <arg choice='plain'>ARCHIVE <arg rep='repeat'>FILE</arg>
	   <arg>DESTINATION</arg></arg>

    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>

    <para><command>&dhpackage;</command> is a program for extracting
    files from rar archives.</para>

  </refsect1>
  <refsect1>
    <title>OPTIONS</title>

    <para>These programs follow the usual &gnu; command line syntax,
      with long options starting with two dashes (`-').  A summary of
      options is included below.  </para>

    <variablelist>
      <varlistentry>
        <term><option>-x</option>
	<option>--extract</option>
        </term>
        <listitem>
          <para>Extract files from archive (default).</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>-t</option>
	<option>--list</option>
        </term>
        <listitem>
          <para>List files in archive.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-f</option>
	<option>--force</option>
        </term>
        <listitem>
          <para>Overwrite files when extracting.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--extract-newer</option>
        </term>
        <listitem>
          <para>Only extract newer files from the archive.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--extract-no-paths</option>
        </term>
        <listitem>
          <para>Don't create directories while extracting.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-p</option>
	<option>--password</option>
        </term>
        <listitem>
          <para>Decrypt archive using a password.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-?</option>
	<option>--help</option>
        </term>
        <listitem>
          <para>Show program help.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--usage</option>
        </term>
        <listitem>
          <para>Show short program usage message.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-V</option>
          <option>--version</option>
        </term>
        <listitem>
          <para>Show version of program.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>NON-FREE UNRAR COMPATIBLE SYNOPSIS</title>
    <cmdsynopsis>
      <command>&dhpackage;</command>

           <arg>elvx</arg>
	   <arg>-ep</arg>
	   <arg>-o+</arg>
	   <arg>-o-</arg>
	   <arg>-p<option>password</option></arg>
	   <arg>-u</arg>
	   <arg>--</arg>
	   <arg choice='plain'>ARCHIVE <arg rep='repeat'>FILE</arg>
	   <arg>DESTINATION</arg></arg>

    </cmdsynopsis>
    <para>This syntax should only be used in front-end programs which
    are using non-free unrar as a back-end. It is recommended to use
    this program by &gnu; command line syntax.
    </para>
    <variablelist>
      <varlistentry>
        <term><option>e</option>
        </term>
        <listitem>
          <para>Extract files from archive without full path.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>l</option>
        </term>
        <listitem>
          <para>List files in archive.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>v</option>
        </term>
        <listitem>
          <para>Verbose list files in archive.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>x</option>
        </term>
        <listitem>
          <para>Extract files from archive with full path.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-ep</option>
        </term>
        <listitem>
          <para>Don't create directories while extracting.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-o+</option>
        </term>
        <listitem>
          <para>Overwrite files when extracting.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-o-</option>
        </term>
        <listitem>
          <para>Don't overwrite files when extracting.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-p</option>
        </term>
        <listitem>
          <para>Decrypt archive using a <option>password</option>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-u</option>
        </term>
        <listitem>
          <para>Only extract newer files from the archive.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--</option>
        </term>
        <listitem>
          <para>Disable further switch processing. Any switch after the --
	        are treated as filenames and destination.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>BUGS</title>
    <para>Advanced features of version 3.0 archives are not currently
    supported.</para>
  </refsect1>

  <refsect1>
    <title>AUTHORS</title>

    <para>&dhpackage; was written by Ben Asselstine based on UniquE
    RAR File Library by Christian Scheurer and Johannes Winkelmann.
    </para>

    <para>This manual page was written by &dhusername; &lt;&dhemail;&gt; for
      the &debian; system (but may be used by others).  Permission is
      granted to copy, distribute and/or modify this document under
      the terms of the &gnu; General Public License, Version 2 any
	  later version published by the Free Software Foundation.
    </para>
	<para>
	  On Debian systems, the complete text of the GNU General Public
	  License can be found in /usr/share/common-licenses/GPL.
	</para>

  </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
