pcz9pq
Last Updated: February 25, 2016
·
2.005K
· 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

8580

should be for f in *.gz;

over 1 year ago ·
8581

Thanks, good catch.

over 1 year ago ·