DLZ super fast compression for large files(github.com) |
DLZ super fast compression for large files(github.com) |
dlz:
#!/bin/bash
f=$1
x=${f: -3}
if [ "$x" == "dlz" ];
then
lz4 -d $f - | tar xvf -
else
tar cvf - $f | lz4 > ${f%.*}.dlz
fi