zutils-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zutils-bug] Compress and Decompress.


From: Antonio Diaz Diaz
Subject: Re: [Zutils-bug] Compress and Decompress.
Date: Mon, 08 Jul 2013 17:54:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

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.


Regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]