Re: Problem with file exclusion pattern

2022-05-04 Thread Wayne Davison via rsync
On Tue, May 3, 2022 at 7:35 AM H wrote: > However, would I not still need --include='*/' since I want it to > recourse into all subdirectories? > Only if you could have a directory that matches the lock name and you didn't want to exclude it. The default is to include a file/dir unless

Re: Problem with file exclusion pattern

2022-05-03 Thread H via rsync
On May 3, 2022 2:16:58 AM EDT, Wayne Davison wrote: >On Sat, Apr 30, 2022 at 3:33 PM H wrote: > >> rsync -vHrltDium -c --chmod=Du+rwx,go-rwx,Fu+rw,go-rw --no-perms >--stats >> --include='*' --include='*/' --exclude='*.~lock*' --exclude='*' -e >"ssh -y >> -p 22" ~/test/ someone@1.2.3.4:~/test >> >

Re: Problem with file exclusion pattern

2022-05-03 Thread Wayne Davison via rsync
On Sat, Apr 30, 2022 at 3:33 PM H wrote: > rsync -vHrltDium -c --chmod=Du+rwx,go-rwx,Fu+rw,go-rw --no-perms --stats > --include='*' --include='*/' --exclude='*.~lock*' --exclude='*' -e "ssh -y > -p 22" ~/test/ someone@1.2.3.4:~/test > See the latest manpage's filter-rules section

Re: Fwd: Problem with file exclusion pattern

2022-05-01 Thread H via rsync
>>> Ah, I was under the impression that all inclusion patterns need to >>>>> preceed the exclusion patterns? >>>>> >>>>> >>>>> >>>>> Forwarded Message >>>>> Subject: Re: Problem with file exclusio

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread Kevin Korb via rsync
. 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 inclusion patterns need to preceed the exclusion patterns? Forwarded Message Subject: Re: Problem with file exclusion pattern Date: Sat, 30 Apr 2022

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread H via rsync
4/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: R

Re: Fwd: Problem with file exclusion pattern

2022-04-30 Thread Kevin Korb via rsync
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 From: Kevin Korb To: H Drop the include of * or move the exclude of *.~lock* before it. Also, -c

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,

Fwd: Problem with file exclusion pattern

2022-04-30 Thread H via rsync
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 From: Kevin Korb To: H Drop the include of * or move

Problem with file exclusion pattern

2022-04-30 Thread H via rsync
I am running rsync on Linux and have yet to find the appropriate pattern to exclude files containing '.~lock' as part of the name of files existing in any directory, ie ~/test and below. rsync -vHrltDium -c --chmod=Du+rwx,go-rwx,Fu+rw,go-rw --no-perms --stats --include='*' --include='*/'