https://github.com/madler/pigz
Download it from Devuan/Debian/Ubuntu repositories.
To compress a file with default options, simply run:
pigz <path-to-file>
Man pages :
https://zlib.net/pigz/pigz.pdf
pigz - file compressor, decompressor
I made a script to test it.
http://www.murga-linux.com/puppy/viewto ... 22#1050522
http://www.murga-linux.com/puppy/viewto ... 22#1050522
You can change the level of compression to speed it up.Not sure how or why you label it as a test/experiment program?
You can rewrite the compression function in the script
I suggest some commands here...
http://murga-linux.com/puppy/viewtopic. ... 22#1050522
Instructions to use pigz in terminal...
cd into directory that you want to compress.
Code:
tar --use-compress-program="pigz --best --recursive" -cf ../archive.tar.gz *
or you can avoid CD into the folder with this command
where you just state the directory's name...
Code:
tar cf - "New Dir" | pigz -9 > archive.tar.gz