Improved manpage.

This commit is contained in:
Bastian Kleineidam 2012-10-24 23:52:58 +02:00
parent 366141d6ea
commit 49ce92ab7f
2 changed files with 19 additions and 17 deletions

View File

@ -56,10 +56,12 @@ be removed and is left as it is.
.br .br
This is the default command if no command was given. This is the default command if no command was given.
.PP .PP
Files are always extracted to a unique temporary directory in the If the archive contains exactly one
current working directory. If the archive contains exactly one file or directory, the archive contents are extracted to the current
file or directory, the archive contents are moved to the current working directory.
working directory and the temporary directory will be removed. Else the files are extracted in a newly created subdirectory of the current
working directory. The new directory is named after the archive filename without
the extension.
.br .br
This prevents cluttering the current working directory with a lot This prevents cluttering the current working directory with a lot
of files from the extracted archive. of files from the extracted archive.

View File

@ -23,14 +23,14 @@ DESCRIPTION
The archive format is determined by the file(1) program and as The archive format is determined by the file(1) program and as
a fallback by the archive file extension. a fallback by the archive file extension.
patool supports 7z (.7z), ACE (.ace), ALZIP (.alz), APE (.ape), patool supports 7z (.7z), ACE (.ace), ADF (.adf), ALZIP (.alz),
AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), com APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB
press (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), FLAC (.flac), (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms),
GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA FLAC (.flac), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP
(.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), SHN (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP
(.shn), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo) (.rz), SHN (.shn), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and
formats. It relies on helper applications to handle those ar ZOO (.zoo) formats. It relies on helper applications to handle
chive formats (for example bzip2 for BZIP2 archives). those archive formats (for example bzip2 for BZIP2 archives).
The archive formats TAR (.tar), ZIP (.zip), BZIP2 (.bz2) and The archive formats TAR (.tar), ZIP (.zip), BZIP2 (.bz2) and
GZIP (.gz) are supported natively and do not require helper GZIP (.gz) are supported natively and do not require helper
@ -52,11 +52,11 @@ COMMANDS
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 If the archive contains exactly one file or directory, the ar
the current working directory. If the archive contains exactly chive contents are extracted to the current working directory.
one file or directory, the archive contents are moved to the Else the files are extracted in a newly created subdirectory of
current working directory and the temporary directory will be the current working directory. The new directory is named after
removed. the archive filename without the extension.
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.