tgz to gz

If, for some reason, you have a text file that has been saved as a tarred and gzipped file, use the following to gunzip/untar and gzip on the fly:

tar xvzfO $TARFILE | gzip > ./$NAME.gz

About Ren West

I'm an IT worker with a passion for photography. I dabble in website admin and design. I have opinions I wish to share.

Subscribe

Subscribe to our e-mail newsletter to receive updates.

Comments are closed.

Page optimized by WP Minify WordPress Plugin