[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exclude virtual env dirs
From: |
Garjola Dindi |
Subject: |
Re: Exclude virtual env dirs |
Date: |
Thu, 05 Dec 2024 19:45:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Thanks to Eric and Patrick for their kind responses. It works perfectly now.
Garjola.
On Mon 25-Nov-2024 at 18:48:36 +01, Patrik Dufresne <patrik@ikus-soft.com>
wrote:
> Hello,
>
> Thanks for reaching rdiff-backup community !
>
> Will be happy to help. If you want to exclude all folder named ".pixi" from
> your backup. You need to add --exclude "**/.pixi".
>
> "**" Will match any subdirectories.
>
> You could read more about it in the man page.
>
>
> On Mon., Nov. 25, 2024, 10:05 Garjola Dindi, <garjola@garjola.net> wrote:
>
>>
>> Hi,
>>
>> I have been using rdiff-backup happily for some years now without any
>> issue. So thanks!
>>
>> I am updating my use to exclude a set of directories that are created when
>> using virtual environments for python development. These directories are
>> created into the source trees and they are always called '.pixi'. Since
>> they are scattered all over the place when one has many projects, I can’t
>> use full paths or even relative paths to a common base dir.
>>
>> I first tried using --exclude '**.pixi', but they are still present in the
>> backups. I don't know if there is some interaction with other
>> include/exclude options, so I have tried using --exclude-regexp '.pixi'
>> and the result is the same.
>>
>> I am a bit ashamed of asking the question, but I have read the man page
>> and done some research on the internet and I still struggle to understand
>> what the problem is.
>>
>> Thanks in advance for your help.
>>
>> G.
>>
>>
>>
>
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Exclude virtual env dirs,
Garjola Dindi <=