3 ms·
Is this a joke? dlz: #!/bin/bash f=$1 x=${f: -3} if [ "$x" == "dlz" ]; then lz4 -d $f - | tar xvf - else
by huhtenberg 8y ago
Is this a joke?
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
- joshumax 8y agoNormally I try to be supportive of people's hobby projects but after checking out the repo I couldn't help but let out a chuckle...