Noel Weston ([EMAIL PROTECTED]; Wednesday, March 19, 2003 2:02 AM):

>> > Can someone suggest a utility that can easily compress one or multiple
> log files individually in gzip with a single command? I want to use gzip so
> Analog can easily read each compressed log file,
>> > but as I understand it, gzip (the original utility) can't individually
> "gzip" multiple files at once. I'm on Win2000.
>>
>> > (Any other solution to automatically compress log files and make them
> readable by Analog on Windows is welcomed!)
>>
>> gzip only compresses a single file. It doesn't matter what platform.
>> That's the spec.
>>
>> You can use tar to collect several files into one archive and then
>> compress it with gz. In fact GNU tar will do the gz compression in one
>> command. See http://www.gnu.org/software/tar/tar.html for details. You
>> can download a windows version from the cygnus project:
>> http://www.cygwin.com/.
>>
>> Otherwise, use any zip program, e.g. info-zip
>> (http://www.info-zip.org/pub/infozip/) or winzip (http://winzip.com/),
>> and just use the command-line interface to uncompress the files to
>> stdout as Analog's UNCOMPRESS command (see
>> http://analog.cx/docs/logfile.html#UNCOMPRESS for details)
>>

> I read this a different way - "can gzip compress multiple files in one go
> ?".

> On win2000 and NT here, gzip *.* will compress as many files as there are in
> the directory. I forgot where I got the windows gzip binary (version 1.2.4)
> from, but it was somewhere obvious...

Oh, right. http://gzip.org/ That's the "obvious" location that I often
forget.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to