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
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
>>
>
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
>>> Ah, I was under the impression that all inclusion patterns need to
>>>>> preceed the exclusion patterns?
>>>>>
>>>>>
>>>>>
>>>>> Forwarded Message
>>>>> Subject: Re: Problem with file exclusio
.
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
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
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
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,
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
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='*/'
10 matches
Mail list logo