Exclude virtual env dirs
Garjola Dindi <[email protected]> Mon, 25 Nov 2024 14:15:36 +0100
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Message-ID | <[email protected]> |
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 cr= eated 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=E2=80=99= 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/exclu= de 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.