archive
archive copied to clipboard
Command line tools to create, list, and extract archives
Archive
Create, list, and extract archives.
Commands
archivecreates an archive based on the provided archive name.lsarchivelists the contents of one or more archives.unarchiveextracts the contents of one or more archives.
Supported Formats
The following archive formats are supported when the required utilities are installed:
- .tar.gz, .tgz require
tar(optionallypigz). - .tar.bz2, .tbz require
tar(optionallypbzip2). - .tar.xz, .txz require
tarwith xz support. - .tar.zst requires
tarwith zstd support. - .tar.lzma, .tlz require
tarwith lzma support. - .tar requires
tar. - .gz requires
gunzip. - .bz2 requires
bunzip2. - .xz requires
unxz. - .lzma requires
unlzma. - .Z requires
uncompress. - .zip, .jar requires
unzip. - .rar requires
rar(needed forarchivesupport),unrarorlsarandunar. - .7z requires
7za. - .deb requires
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.
Provenance
Forked from prezto.