sharc
[!CAUTION] Alpha version, do not use
Simple High-speed ARChiver
sharc is a very fast file archiver, using the density compression library. It is ideal when speed is paramount, followed by compression ratio - although excellent ratios can be achieved with certain settings and low entropy data.
sharc uses parallel processing to achieve maximum encode/decode performance. It is especially efficient with large files.
Build
sharc can be built on rust-compatible platforms. First use rustup to install rust.
a) get the source code:
git clone https://github.com/g1mv/sharc.git
cd sharc
b) build and print commands list:
RUSTFLAGS="-C target-cpu=native" cargo build --release
target/release/sharc -h
Usage
To compress a file named 'test' into 'test.sharc' using the default algorithm (density cheetah):
sharc test
To decompress 'test.sharc',
sharc -d test.sharc
or:
unsharc test.sharc
Compression algorithm can be selected with the -c option. Fastest algorithm (density chameleon):
sharc -c1 test
Well-balanced default (density cheetah)
sharc -c2 test
Slower but still very fast, with better compression ratio (density lion):
sharc -c3 test
For help and a full list of options:
sharc -h