rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Please help : regexp problem.


From: Alan Horn
Subject: Re: [rdiff-backup-users] Please help : regexp problem.
Date: Fri, 19 Dec 2003 13:38:00 -0800 (PST)

On Thu, 18 Dec 2003, Andrew K. Bressen wrote:

>Date: Thu, 18 Dec 2003 12:21:51 -0500
>From: Andrew K. Bressen <address@hidden>
>To: Alan Horn <address@hidden>
>Cc: address@hidden
>Subject: Re: [rdiff-backup-users] Please help : regexp problem.
>
>
>Alan Horn <address@hidden> writes:
>> 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?
>
>alternatively, you could do some gross workaround like doing a find on the
>filesys for the core files and then stuffing them into a file listing files
>to be excluded...
>
>

Hey Andrew,

So I've tried your suggested pattern, and it still backs up core.[0-9]*
files, it didn't seem to work for me.

I'm now going to generate a list of excluded files from a separate script
before backups each night and see how that goes.

Cheers,

Al







reply via email to

[Prev in Thread] Current Thread [Next in Thread]