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@1.2.3.4:~/test

Can anyone point out what I have missed in the above?

Thank you.


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to