regex + sbackup

dave s ubuntu at pusspaws.net
Tue Feb 14 21:52:08 UTC 2006


On Tuesday 14 Feb 2006 21:43, Todd Slater wrote:
> On 2/14/06, dave s <ubuntu at pusspaws.net> wrote:
> > OK this may be dumb but ...
> >
> > I have installed sbackup, it backs us up some directories but I do not
> > want it to backup any sub directories called just 'data'
> >
> > I used the regex option and entered
> >
> > ^data$
> >
> > It still backs up data directories ... there goes 1GB ... If I change the
> > regex to just plain
> >
> > data
> >
> > it works fine but it also excludes 'process_data' python directories.
> >
> > Either I have my regex wrong (very possible) or sbackup is not working
> > the way it should.
> >
> > Can anone shed any light on this problem before I commit a bug report ?
> >
> > Cheers
> >
> > Dave
>
> In my setup it excludes using the regex
>
> /home/[^/]+?/\.thumbnails
>
> which I assume would exclude and .thumbnails directory under /home/.
>
> HTH,
>
> Todd

I tried ...

/home/dave/test/^data$

and still no go. Does your reg ex actually work. Have you tested it ?

Dave





More information about the ubuntu-users mailing list