Updated patool.txt from man page.

This commit is contained in:
Bastian Kleineidam 2010-03-26 21:06:29 +01:00
parent defdede049
commit c9ecddafc9
1 changed files with 22 additions and 21 deletions

View File

@ -25,9 +25,10 @@ DESCRIPTION
ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress
(.Z), CPIO (.cpio), DEB (.deb), GZIP (.gz), LRZIP (.lrz), LZH (.Z), CPIO (.cpio), DEB (.deb), GZIP (.gz), LRZIP (.lrz), LZH
(.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM
(.rpm), RAR (.rar), TAR (.tar), XZ (.xz) and ZIP (.zip, .jar) (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP
formats. It relies on helper applications to handle those ar (.zip, .jar) and ZOO (.zoo) formats. It relies on helper
chive formats (for example bzip2 for BZIP2 archives). applications to handle those archive formats (for example bzip2
for BZIP2 archives).
EXAMPLES EXAMPLES
patool extract archive.zip otherarchive.rar patool extract archive.zip otherarchive.rar
@ -41,48 +42,48 @@ COMMANDS
Several commands and options are available. Several commands and options are available.
extract extract
Extract files from an archive. The original archive will never Extract files from an archive. The original archive will never
be removed and is left as it is. be removed and is left as it is.
This is the default command if no command was given. This is the default command if no command was given.
Files are always extracted to a unique temporary directory in Files are always extracted to a unique temporary directory in
the current working directory. If the archive contains exactly the current working directory. If the archive contains exactly
one file or directory, the archive contents are moved to the one file or directory, the archive contents are moved to the
current working directory and the temporary directory will be current working directory and the temporary directory will be
removed. removed.
This prevents cluttering the current working directory with a This prevents cluttering the current working directory with a
lot of files from the extracted archive. lot of files from the extracted archive.
All extracted files are ensured that they are readable by the All extracted files are ensured that they are readable by the
current user. current user.
-v, --verbose -v, --verbose
Be verbose when extracting (if the helper application Be verbose when extracting (if the helper application
supports it). supports it).
list list
List files in an archive. List files in an archive.
-v, --verbose -v, --verbose
Verbose archive listing (if the helper application sup Verbose archive listing (if the helper application sup
ports it). ports it).
create create
Create an archive from given files. At least on of the given Create an archive from given files. At least on of the given
files to add to the archive has to exist (non-existing files files to add to the archive has to exist (non-existing files
are ignored). The format of the archive to create is deter are ignored). The format of the archive to create is deter
mined by the archive file extension. mined by the archive file extension.
-v, --verbose -v, --verbose
Verbose operation (if the helper application supports Verbose operation (if the helper application supports
it). it).
test test
Test files in an archive. If the helper application does not Test files in an archive. If the helper application does not
support testing, the archive contents are listed instead. support testing, the archive contents are listed instead.
-v, --verbose -v, --verbose
Verbose archive testing (if the helper application sup Verbose archive testing (if the helper application sup
ports it). ports it).
diff diff
@ -90,15 +91,15 @@ COMMANDS
The diff options used are -urN. The diff options used are -urN.
repack repack
Repackage archive to a different format. The target archive Repackage archive to a different format. The target archive
format is determined by the file extension. format is determined by the file extension.
formats formats
Show all supported archive formats (ie. which helper applica Show all supported archive formats (ie. which helper applica
tions are available). tions are available).
HELP OPTION HELP OPTION
Specifying the help option displays help for patool itself, or Specifying the help option displays help for patool itself, or
a command. a command.
For example: For example:
patool --help - display help for patool patool --help - display help for patool