[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exclude virtual env dirs
From: |
EricZolf |
Subject: |
Re: Exclude virtual env dirs |
Date: |
Mon, 25 Nov 2024 17:46:58 +0000 |
Hi,
the correct patten should be **/.pixi (with slash).
KR, Eric
On November 25, 2024 1:15:36 PM UTC, 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.
>
>