regex + sbackup

Toby Kelsey toby_kelsey at ntlworld.com
Wed Feb 15 11:34:49 UTC 2006


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





More information about the ubuntu-users mailing list