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

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

Re: Exclude virtual env dirs


From: Patrik Dufresne
Subject: Re: Exclude virtual env dirs
Date: Mon, 25 Nov 2024 12:48:36 -0500

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.
>
>
>


reply via email to

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