Last Updated: February 25, 2016
·
2.249K
· philipgloyne

Convert .gz to .lzo

Quick and dirty command line conversion from gzip to lzo.

for f in *.gz; do echo "Converting $f to ${f%.*}.lzo" ; gunzip --stdout $f | lzop -o ${f%.*}.lzo ; rm $f ; done

2 Responses
Add your response

should be for f in *.gz;

over 1 year ago ·

Thanks, good catch.

over 1 year ago ·