regex + sbackup
Robbo
ml at the-view.eclipse.co.uk
Tue Feb 14 21:37:44 UTC 2006
On Tue, 2006-02-14 at 20:47 +0000, dave s 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 ?
I don't use sbackup, but perhaps the regex uses the full path and not
just the folder name. Try these if thats the case...
/data$
^.*/data$
More information about the ubuntu-users
mailing list