Article View: comp.sources.bugs
Article #649Re: Problem with compress
From: Christopher M. Conway
Date: Wed, 15 May 1991 15:12
Date: Wed, 15 May 1991 15:12
31 lines
2391 bytes
2391 bytes
In article <1991May15.062504.28369@looking.on.ca>, brad@looking.on.ca (Brad Templeton) writes: -It's a tough problem, actually. It is nice to take the software tools -approach of splitting archiver and compressor, but this makes it more -difficult to do some of the cute things you can do when you combine them. - -The simplest of which is the fairly standard archive of compressed -files, with each file compressed individually and extractable without -decompressing the entire archive -- a serious problem if it is a -multi-media archive or very large. - -Of course, a compiler that could do this, and which called a compressor -as a filter, would not be too hard to make. But tar, cpio and others do -not have any support for this. --- -Brad Templeton, ClariNet Communications Corp. -- Waterloo, Ontario 519/884-7473 - Actually, the example you gave is quite easy. Compress the files individually, e.g. compress * or for a directory hierarchy the compressdir tool just posted or something similar; tar the result. Voila, one archive of compressed files, with each compressed file individually extractable without decompressing anything else. There is nothing that can be done in one monolithic tool that can't be done more flexibly (although possibly more complex) with lots of small tools. Count me as a vote for tar and some kind of compress (I use Yabba now, myself). -- Christopher M. Conway | U*ix and C Guru wombat@nfinit.enet.dec.com | The Second Amendment is ABOUT military wombat@jupiter.nmt.edu | weapons. We have the RIGHT and DUTY to wombat@juliet.ll.mit.edu | overthrow a tyrannical government.
Technical Details
Message-ID:
<3151@shodha.enet.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!decwrl!pa.dec.com!shodha.enet.dec.com!infinite.abo.dec.com!wombatReferences:
<1991May14.044431.23932@sparky.IMD.Sterling.COM> <26085:May1416:52:3491@kramden.acf.nyu.edu> <1991May14.185447.2498@nntp-server.caltech.edu> <1991May15.062504.28369@looking.on.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!decwrl!pa.dec.com!shodha.enet.dec.com!infinite.abo.dec.com!wombat From: wombat@infinite.abo.dec.com (Christopher M. Conway) Newsgroups: comp.sources.bugs,comp.compression Subject: Re: Problem with compress Message-ID: <3151@shodha.enet.dec.com> Date: 15 May 91 15:12:35 GMT References: <1991May14.044431.23932@sparky.IMD.Sterling.COM> <26085:May1416:52:3491@kramden.acf.nyu.edu> <1991May14.185447.2498@nntp-server.caltech.edu> <1991May15.062504.28369@looking.on.ca> Sender: news@shodha.enet.dec.com Reply-To: wombat@nfinit.enet.dec.com Followup-To: comp.sources.bugs Organization: Digital Equipment Corporation Lines: 31