Updated documentation for new LZMA support.

This commit is contained in:
Bastian Kleineidam 2010-02-22 17:26:33 +01:00
parent bc7e99b35b
commit 82a85abb33
3 changed files with 27 additions and 16 deletions

View File

@ -26,7 +26,7 @@ as a fallback with file(1).
.PP .PP
\fBpatool\fP supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z), \fBpatool\fP supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z),
BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio), BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio),
RPM (.rpm), DEB (.deb), LZOP (.lzo)and RAR (.rar) formats. RPM (.rpm), DEB (.deb), LZOP (.lzo), LZMA (.lzma) and RAR (.rar) formats.
It relies on helper applications to handle those archive formats It relies on helper applications to handle those archive formats
(for example bzip2 for BZIP2 archives). (for example bzip2 for BZIP2 archives).
.SH COMMANDS .SH COMMANDS

View File

@ -1,4 +1,4 @@
PATOOL(1) PATOOL(1) PATOOL(1) PATOOL(1)
@ -11,25 +11,33 @@ SYNOPSIS
patool formats [options] patool formats [options]
DESCRIPTION DESCRIPTION
Various archive types can be created, extracted, tested and listed by patool. The archive format is determined by the archive file extension and as a fallback with Various archive types can be created, extracted, tested and listed by
file(1). patool. The archive format is determined by the archive file extension
and as a fallback with file(1).
patool supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z), BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio), RPM (.rpm), DEB (.deb), LZOP patool supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z),
(.lzo)and RAR (.rar) formats. It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives). BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio), RPM
(.rpm), DEB (.deb), LZOP (.lzo), LZMA (.lzma) and RAR (.rar) formats.
It relies on helper applications to handle those archive formats (for
example bzip2 for BZIP2 archives).
COMMANDS COMMANDS
Several commands and options are available. Several commands and options are available.
extract extract
Extract files from an archive4. Often one wants to extract all files in an archive to a single subdirectory. However, some archives contain multiple files in their Extract files from an archive4. Often one wants to extract all files in
root directories. The patool program overcomes this problem by first extracting files to a unique (temporary) directory, and then moving its contents back if possible. an archive to a single subdirectory. However, some archives contain
This also prevents local files from being overwritten by mistake. multiple files in their root directories. The patool program overcomes
this problem by first extracting files to a unique (temporary) direc
tory, and then moving its contents back if possible. This also prevents
local files from being overwritten by mistake.
--force --force
Allow overwriting of local files. Allow overwriting of local files.
--verbose --verbose
Be verbose when extracting (if the helper application supports it). Be verbose when extracting (if the helper application supports
it).
--help Show help for this command. --help Show help for this command.
@ -66,9 +74,11 @@ COMMANDS
--help Show help for this command. --help Show help for this command.
CONFIGURATION CONFIGURATION
The configuration files (see FILES) can specify which program to use for each archive format. Per default a list of programs are searched and the first one will be used The configuration files (see FILES) can specify which program to use
for an archive. for each archive format. Per default a list of programs are searched
Additionally, default options like verbosity and force overwrite can be configured. and the first one will be used for an archive.
Additionally, default options like verbosity and force overwrite can be
configured.
The configuration format is the Windows INI format. The configuration format is the Windows INI format.
@ -83,7 +93,8 @@ CONFIGURATION
Supported archive formats are listed by the formats command. Supported archive formats are listed by the formats command.
command=/usr/bin/mycommand command=/usr/bin/mycommand
Set the application to handle the archive format for given command. command can be one of (extract, list, test, create). Set the application to handle the archive format for given com
mand. command can be one of (extract, list, test, create).
FILES FILES
/etc/patool.conf, ~/.patool.conf - configuration files /etc/patool.conf, ~/.patool.conf - configuration files
@ -96,4 +107,4 @@ COPYRIGHT
patool February 2010 PATOOL(1) patool February 2010 PATOOL(1)

View File

@ -1 +1 @@
- Support XZ and LZMA archives - Support XZ archives