#compression #decompression #zip #archive #tar

bin+lib xcompress

XCompress is a free file archiver utility on Linux, providing multi-format archiving to and extracting from ZIP, Z, GZIP, BZIP2, LZ, XZ, LZMA, 7ZIP, TAR, RAR and ZSTD

37 releases

0.11.6 Apr 22, 2021
0.11.5 Mar 11, 2021
0.11.4 Aug 8, 2020
0.11.3 Jul 29, 2020
0.10.0 Jul 31, 2018

#204 in Command line utilities

Download history 42/week @ 2021-01-13 5/week @ 2021-01-20 11/week @ 2021-01-27 2/week @ 2021-02-03 71/week @ 2021-02-10 110/week @ 2021-02-17 6/week @ 2021-02-24 9/week @ 2021-03-03 40/week @ 2021-03-10 10/week @ 2021-03-17 117/week @ 2021-03-24 78/week @ 2021-03-31 41/week @ 2021-04-07 76/week @ 2021-04-14 116/week @ 2021-04-21 56/week @ 2021-04-28

203 downloads per month

MIT license

100KB
2K SLoC

XCompress

CI

XCompress is a free file archiver utility on Linux, providing multi-format archiving to and extracting from ZIP, Z, GZIP, BZIP2, LZ, XZ, LZMA, 7ZIP, TAR, RAR and ZSTD.

Help

EXAMPLES:
  xcompress a foo.wav                      # Archives foo.wav to foo.rar
  xcompress a foo.wav /root/bar.txt        # Archives foo.wav and /root/bar.txt to foo.rar
  xcompress a -o /tmp/out.7z foo.wav       # Archives foo.wav to /tmp/out.7z
  xcompress a -b foo/bar                   # Archives foo/bar folder to bar.rar as small as possible
  xcompress a -p password foo.wav          # Archives foo.wav to foo.rar with a password
  xcompress x foo.rar                      # Extracts foo.rar into current working directory
  xcompress x foo.tar.gz /tmp/out_folder   # Extracts foo.tar.gz into /tmp/out_folder
  xcompress x -p password foo.rar          # Extracts foo.rar with a password into current working directory

USAGE:
    xcompress [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -q, --quiet            Makes programs not print anything on the screen.
    -s, --single-thread    Uses only one thread.
    -h, --help             Prints help information
    -V, --version          Prints version information

OPTIONS:
    -p, --password <PASSWORD>              Sets password for your archive file. (Only supports 7Z, ZIP and RAR.) Set an
                                           empty string to read a password from stdin.
        --7z-path <7Z_PATH>                Specifies the path of your 7z executable binary file. [default: 7z]
        --bunzip2-path <BUNZIP2_PATH>      Specifies the path of your bunzip2 executable binary file. [default: bunzip2]
        --bzip2-path <BZIP2_PATH>          Specifies the path of your bzip2 executable binary file. [default: bzip2]
        --compress-path <COMPRESS_PATH>    Specifies the path of your compress executable binary file. [default:
                                           compress]
        --gunzip-path <GUNZIP_PATH>        Specifies the path of your gunzip executable binary file. [default: gunzip]
        --gzip-path <GZIP_PATH>            Specifies the path of your gzip executable binary file. [default: gzip]
        --lbzip2-path <LBZIP2_PATH>        Specifies the path of your lbzip2 executable binary file. [default: lbzip2]
        --lunzip-path <LUNZIP_PATH>        Specifies the path of your lunzip executable binary file. [default: lunzip]
        --lzip-path <LZIP_PATH>            Specifies the path of your lzip executable binary file. [default: lzip]
        --lzma-path <LZMA_PATH>            Specifies the path of your lzma executable binary file. [default: lzma]
        --pbzip2-path <PBZIP2_PATH>        Specifies the path of your pbzip2 executable binary file. [default: pbzip2]
        --pigz-path <PIGZ_PATH>            Specifies the path of your pigz executable binary file. [default: pigz]
        --plzip-path <PLZIP_PATH>          Specifies the path of your plzip executable binary file. [default: plzip]
        --pxz-path <PXZ_PATH>              Specifies the path of your pxz executable binary file. [default: pxz]
        --pzstd-path <PZSTD_PATH>          Specifies the path of your pzstd executable binary file. [default: pzstd]
        --rar-path <RAR_PATH>              Specifies the path of your rar executable binary file. [default: rar]
        --tar-path <TAR_PATH>              Specifies the path of your tar executable binary file. [default: tar]
        --unlzma-path <UNLZMA_PATH>        Specifies the path of your unlzma executable binary file. [default: unlzma]
        --unrar-path <UNRAR_PATH>          Specifies the path of your unrar executable binary file. [default: unrar]
        --unxz-path <UNXZ_PATH>            Specifies the path of your unxz executable binary file. [default: unxz]
        --unzip-path <UNZIP_PATH>          Specifies the path of your unzip executable binary file. [default: unzip]
        --unzstd-path <UNZSTD_PATH>        Specifies the path of your unzstd executable binary file. [default: unzstd]
        --xz-path <XZ_PATH>                Specifies the path of your xz executable binary file. [default: xz]
        --zip-path <ZIP_PATH>              Specifies the path of your zip executable binary file. [default: zip]
        --zstd-path <ZSTD_PATH>            Specifies the path of your zstd executable binary file. [default: zstd]

SUBCOMMANDS:
    a       Adds files to archive. Excludes base directory from names. (e.g. add /path/to/folder, you can always get
            the "folder" in the root of the archive file, instead of /path/to/folder.)
    help    Prints this message or the help of the given subcommand(s)
    x       Extracts files with full path.

License

MIT

Dependencies

~2–2.8MB
~56K SLoC