[Gllug] Re: [GLUG] Year, month,day?
Gareth Gregor
localhost at vukanet.co.za
Tue Nov 12 12:32:37 UTC 2002
not sure if this is what you mean...
tar zcvf some.tgz logfile.log.`date +%Y%m%d`
Regards
Gareth
On Tue, 12 Nov 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?
>
> 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
>
>
> ----
> To unsubscribe from this list: send the line "unsubscribe glug" in
> the subject of a message to glug-request at linux.org.za. If you have a
> problem unsubscribing, please mail glug-admins at linux.org.za
>
>
______________________________________
Inflex - installed on mailserver for domain @vukanet.co.za
Queries to: virus at vukanet.co.za
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list