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