Hello Gaurav.

Gaurav Chetal wrote:
My question is that if I have two files suppose :

file_1.gz and file_2.gz

then can I compress these to files into another compressed file ex
file_1+2.gz (Just a name.)

The catch is that I dont want it to be decompressed first...Just direct
concatenate the contents to a single file.

All compression formats supported by zutils support concatenation of files, so something like the following should work (as long as you do not mix formats):

  cat file_1.gz file_2.gz > file_1+2.gz

I think it is not possible to concatenate the contents of both files to a single-member file without recompressing.


Zutils-bug mailing list

Reply via email to