zim/modules/archive/README.md
Eric Nielsen 2c5e7c02ea [archive] Add missing bzip2 extensions
We already had .tar.bz2, .tbz, .tbz2 and .bz2
We were missing .tar.bz and .bz

Noticed this in the pull request #308 by @Konfekt.
2018-11-14 20:20:52 -05:00

896 B

archive

Provides archive and unarchive functions for easy archive manipulation.

This module will make use of pigz and pbzip2 if available to make use of all available CPU cores.

Functions

  • archive generates an archive based on file extension. Syntax is archive myarchive.tar.gz /path/to/archive
  • unarchive unarchives a file based on the extension. Syntax is unarchive myarchive.7z

Archive formats

Format Requirements
.tar tar
.tar.gz, .tgz tar or pigz
.tar.bz, .tar.bz2, .tbz, .tbz2 tar or pbzip2
.tar.xz, .txz tar with xz support
.tar.zma, .tlz tar with lzma support
.gz gunzip or pigz
.bz, .bz2 bunzip2 or pbzip2
.xz unxz
.lzma unzlma
.Z uncompress
.zip unzip
.rar unrar or rar
.7z 7za