Merging Two zip files with same name text files

General
Enthusiast

Merging Two zip files with same name text files

hi .. i am concetaneting two zip files with same name text files ...but it is showing only one zip file data ..

 

1.gz has 1.txt,2.txt and 3 .txt

2.gz has 1.txt,2.txt and 3.txt

 

i want combined 3.gz as 1.gz + 2.gz i.e 1.gz.1.txt+2.gz.1.txt =3.gz.1.txt  like wise..

 

could you give me a command on unix...thanks

Tags (1)
1 REPLY
Enthusiast

Re: Merging Two zip files with same name text files

sol 1:

unzip two zipfiles in different folder and concatenate the files with same names ina folder and zip it ..

but i want this to be daily job