Eugen Blattner 2c66331316 fix: use deflating flag for pixz in unarchive function | 2 år sedan | |
---|---|---|
.. | ||
functions | 2 år sedan | |
README.md | 3 år sedan |
Provides functions to create, list, and extract archives.
This module must be loaded before the completion
module so that the
provided completion definitions are loaded automatically by completion
module.
archive
creates an archive based on the provided archive name.lsarchive
lists the contents of one or more archives.unarchive
extracts the contents of one or more archives.The following archive formats are supported when the required utilities are installed:
tar
(optionally pigz
).tar
(optionally pbzip2
).tar
with xz support.tar
with lzma support.tar
.gunzip
.bunzip2
.unxz
.unlzma
.uncompress
.unzip
.rar
(needed for archive
support), unrar
or lsar
and unar
.7za
.ar
, tar
.Additionally, if pigz
and/or pbzip2
are installed, archive
will use them
over their traditional counterparts, gzip
and bzip2
respectively, to take
full advantage of all available CPU cores for compression.
Specifically on macOS, The Unarchiver provides a similar command line tool which doesn't depend on a number of other programs being installed.
The authors of this module should be contacted via the issue tracker.