On Mar 17, 2004, at 3:08 pm, Our Pal Al wrote: > On 3/17/04 8:32 AM, "Brent Baisley" <brent at landover.com> wrote: > >> My first question is why would you want to keep years worth of backup >> logs? > > > Exactly. I *don't*, but Retrospect doesn¹t have any customization > options > for exporting the backup report (separate from the log, btw). It > exports > everything and that's it, hence processing needs to be afterwards. > Lopping > off the last X number of lines in the file will truncate to either > something > with too much info or perhaps not enough, depending on how much you > grab or > cut. It's days that useful, specifically the last 7 for me, whether the > number of failures and clients makes the file 2 lines or 2000. And having wasted all that time on an answer involving long date formats, I think the answer is really a weekly `cron` job to mv Restrospect\ backup\ report Restrospect\ backup\ report-`date +%Y-%m-%d_%X and run your grep on the new one that's subsequently created by the new backup. Stroller.