Welcome! » Log In » Create A New Profile

Please help : regexp problem.

Posted by Anonymous 
Please help : regexp problem.
January 27, 2004 08:10PM
[quote][quote][quote][quote][quote]Alan Horn <ahorn < at > deorth.org>
wrote the following on Fri, 19 Dec 2003 13:38:00 -0800 (PST)
[/quote][/quote][/quote][/quote]On Thu, 18 Dec 2003, Andrew K. Bressen wrote:

[quote]Alan Horn <ahorn < at > deorth.org> writes:
[quote]I need to do an rdiff-backup, and exclude files that match the pattern :


e.g. core.12345
um, does

rdiff-backup --exclude-regexp 'core.[0123456789]*' source target

do it for you?
So I've tried your suggested pattern, and it still backs up core.[0-9]*
files, it didn't seem to work for me.
This works for me in a simple test:

rdiff-backup --exclude-regexp 'core.[0-9]*'

not sure why it doesn't work on your end.

Ben Escoto
Sorry, only registered users may post in this forum.

Click here to login