Re: Fwd: Problem with file exclusion pattern

2022-05-01 Thread H via rsync
On 04/30/2022 09:13 PM, Kevin Korb via rsync wrote: > Sure, that is the way it normally works.  By default everything is included.  > Excludes exclude things.  Includes are exceptions to includes that follow. > > Note that this can get very complicated.  --exclude-from=file.txt makes > things

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread Kevin Korb via rsync
Sure, that is the way it normally works. By default everything is included. Excludes exclude things. Includes are exceptions to includes that follow. Note that this can get very complicated. --exclude-from=file.txt makes things much easier as you can use the +/- syntax to put both

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread H via rsync
On 04/30/2022 08:22 PM, Kevin Korb via rsync wrote: > Includes override excludes that follow.  So, your include of * meant that > nothing was being excluded.  An exclude before any includes isn't affected by > the includes. > > On 4/30/22 20:04, H via rsync wrote: >> On 04/30/2022 07:56 PM, H

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread Kevin Korb via rsync
Includes override excludes that follow. So, your include of * meant that nothing was being excluded. An exclude before any includes isn't affected by the includes. On 4/30/22 20:04, H via rsync wrote: On 04/30/2022 07:56 PM, H via rsync wrote: Ah, I was under the impression that all

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread H via rsync
On 04/30/2022 07:56 PM, H via rsync wrote: > > Ah, I was under the impression that all inclusion patterns need to preceed > the exclusion patterns? > > > > Forwarded Message > Subject: Re: Problem with file exclusion pattern > Date: Sat, 30 Apr 2022 18:49:22 -0400 >