Problem with file exclusion pattern
H
agents at meddatainc.com
Sat Apr 30 22:18:58 UTC 2022
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='*/' --exclude='*.~lock*' --exclude='*' -e "ssh -y -p 22" ~/test/ someone at 1.2.3.4:~/test
Can anyone point out what I have missed in the above?
Thank you.
More information about the rsync
mailing list