Ben Escoto Guest
|
Posted: Tue Jan 27, 2004 8:10 pm Post subject: Please help : regexp problem. |
|
|
| Quote: | | Quote: | | Quote: | | Quote: | | Quote: | Alan Horn <ahorn < at > deorth.org>
wrote the following on Fri, 19 Dec 2003 13:38:00 -0800 (PST)
|
|
|
| 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 :
core\.[0-9]+
e.g. core.12345
core.4
core.222
|
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 |
|