Re: Exclude virtual env dirs
EricZolf <[email protected]> Mon, 25 Nov 2024 17:46:58 +0000
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,=20 the correct patten should be **/=2Epixi (with slash)=2E KR, Eric On November 25, 2024 1:15:36 PM UTC, Garjola Dindi <garjola@garjola=2Enet>= wrote: > >Hi, > >I have been using rdiff-backup happily for some years now without any iss= ue=2E So thanks! > >I am updating my use to exclude a set of directories that are created whe= n using virtual environments for python development=2E These directories ar= e created into the source trees and they are always called '=2Epixi'=2E Sin= ce they are scattered all over the place when one has many projects, I can= =E2=80=99t use full paths or even relative paths to a common base dir=2E > >I first tried using --exclude '**=2Epixi', but they are still present in = the backups=2E I don't know if there is some interaction with other include= /exclude options, so I have tried using --exclude-regexp '=2Epixi' and the= result is the same=2E > >I am a bit ashamed of asking the question, but I have read the man page a= nd done some research on the internet and I still struggle to understand wh= at the problem is=2E > >Thanks in advance for your help=2E > >G=2E > >