Page 1 of 1

Unzipping main Zip file with mutiple gz files.

Posted: Tue Dec 05, 2006 11:11 am
by Ahimsa
I have a one main zip file which contains 20 different zipped gz files.
My question is how to unzip the main file and then process each of the gz file.

I could process single zipped gz file by using external source with source program as: gunzip -c -d /test/test123.txt.gz

Would appreciate any suggestions?

Thanks!

e.g. Main zip file is ABC001.zip this contains Test01.txt.gz, Test02.txt.gz, Test03.txt.gz.....

Posted: Tue Dec 05, 2006 11:19 am
by dwblore
Hello
how about having a before script that takes care of the unzip/'uncompress'ing that you require.

Posted: Tue Dec 05, 2006 12:37 pm
by Ahimsa
Script sounds good idea. Can you please provide sample script if posible.

Thanks!