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
Written by Philip Gloyne
Related protips
2 Responses
should be for f in *.gz;
over 1 year ago
·
Thanks, good catch.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Gzip
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#