[Gllug] Year, month,day?
Xander D Harkness
xander at harkness.co.uk
Tue Nov 12 12:44:18 UTC 2002
Neil Fryer wrote:
>Hi All
>
>I have some apps that create log files in the form of logfile.log.20021112,
>now I want to gzip these on a nightly basis, the part that I'm battling with
>is how would I say
>
>gzip logfile.log.yyyymmdd, as there will be existing logs in the dir called
>logfile.log, which will be live, and I don't wan't to zip that?
>
could you not try gzip logfile.log.*
or
gzip logfile.log.????????
Cheers
xander
>
>Thanks
>
>Neil Fryer
>Systems Administrator
>12Snap UK Ltd
>Tel: +44(0)20 7534 7322
>Fax: +44(0)20 7534 7301
>Mobile: +44(0)7855 400 309
>E-mail: neil.fryer at 12snap.com
>http://www.12snap.com
>
>
>
>
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list