> Can someone suggest a utility that can easily compress one or
> multiple log files individually in gzip with a single command?

I think there's not much use in keeping separate logfiles per day. So
instead,

cat * | gzip > allmylogs.gz

or something like that. Assuming that you started with a load of text-format
logfiles, then this command would concatenate them together into a single
large text-format logfile, and then gzip it. Actually, I'm not very good at
unix-style command-lines, so I do it one by one.

On Windows, to concatenate them from the command line, you can do

copy jan1.log + jan2.log + jan3.log + jan4.log   alljan.log
gzip allgan.log

But that's kind of tedious. So I use "unix command line utilities for win32"
(search for it on google) so I can use cat instead of copy.

--
Lucian

+------------------------------------------------------------------------
|  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