Boost logo

Boost Users :

From: John Reynolds (John.Reynolds_at_[hidden])
Date: 2007-08-13 07:59:16


Yu can try zipios

http://sourceforge.net/projects/zipios

John Reynolds
 
Aircraft Management Technologies Limited
Registered in Ireland, No.337561
Registered office: 1 The Green, Malahide, Co.Dublin, Ireland
Tel: + 353 1 8061000
Fax:+ 353 1 8061025
 
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Jens Seidel
Sent: 10 August 2007 13:22
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost::iostreams::gzip_compressor and multiplefiles

On Thu, Aug 09, 2007 at 11:38:58AM -0400, François Duranleau wrote:
> On Thu, 9 Aug 2007, Robert Caldecott wrote:
> >However, I want to create a single gzip file that contains multiple
> >compressed
> >files, each with a different filename. Does anyone know how to achieve
> >this?
>
> I guess that when you uncompress the file (e.g. with gunzip), you want to
> get all those named files in, well, different files? As far as I know, the
> gzip format doesn't allow that (I could be wrong), hence the gzip'ed tar

Right, it doesn't allow it and this is fine. Why should gzip allow
archiving multiple files? It is a compressing program, not more.

It's again the usual (and fine) Unix philosophy: one program for a
simple task, combine/pipe multiple such simple programs to get more
complex tasks done. This way you can also compress via gzip other
archive formats, do not increase the code base of gzip and make
compressing alone usable for other programs as well (which do not
require tar).

I would wish such a solution would be used on the proprietary systems
which use ZIP as default archiver as well ...

Jens
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net