|
From: | Joe Steele |
Subject: | Re: [rdiff-backup-users] listing files in an increment |
Date: | Thu, 11 Apr 2013 15:15:12 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
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
zgrep -e 'Support201304030936.log 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz
zgrep -e ' 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz --Joe
[Prev in Thread] | Current Thread | [Next in Thread] |