rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] listing files in an increment


From: Scott Lair
Subject: Re: [rdiff-backup-users] listing files in an increment
Date: Thu, 11 Apr 2013 16:04:25 -0400

On Thu, 2013-04-11 at 15:15 -0400, Joe Steele wrote:
> On 4/11/2013 12:50 PM, Scott Lair wrote:
> > I wasn't having much luck with this so I thought I'd focus on the new
> > files search. I have the following line in one of my stats files.
> >
> > opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 1 13848 NA 0
> >
> > when I run
> > zgrep -e ' 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz
> >
> > I get no output.  Seems like it should work.  I don't know reg exp at
> > all.
> >
> 
> Agreed -- should work.
> 
> Try a progression of matches and see if there's a place where the 
> match begins to fail:
> 
> zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 
> 1 13848 NA 0' rdiff-backup-data/blah_blah.gz
> 
> zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 
> 1 13848 NA 0$' rdiff-backup-data/blah_blah.gz
> 
> zgrep -e 'opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 
> 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz

OK, it fails on the [0-9]+ substitution.... hmmmmm






reply via email to

[Prev in Thread] Current Thread [Next in Thread]