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
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
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.
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
for an archive.
Additionally, default options like verbosity and force overwrite can be configured.
The configuration format is the Windows INI format.
[DEFAULT]
force=0
Set the force option to 1 or 0.
verbose=0
Set the verbose option to 1 or 0.
[<archive format>]
Supported archive formats are listed by the formats command.