regex + sbackup [SOLVED]
dave s
ubuntu at pusspaws.net
Fri Feb 17 07:15:29 UTC 2006
On Wednesday 15 Feb 2006 11:34, Toby Kelsey wrote:
> Carthik Sharma wrote:
> >>>This regex stuff is a dark art. I got the path thing now and it works (
> >>> a big thank you :)) but I still have one last regex problem.
> >>>
> >>> /home/dave/[^/]+?/data
> >>>
> >>>excludes the data directorys but also my 'data_process' directories
>
> Try
>
> /home/dave/[^/]+?/data[^_]
>
> (assuming there are no other data_* files).
>
> Toby
I got a reply from the developers ...
The regex is applied to full path of every file or directory, so in your case
a regex of "/data/" should work.
And it does :) :) :)
dave
More information about the ubuntu-users
mailing list