I just reviewed the EXCLUDE PATTERNS section of the manpage and found that the declarative portion never actually states that only the part of the path that is relative destination is compared.
I'm not quite satisfied with my text on this so if anyone has a better way of stating it i'm open to suggestions. Index: rsync.yo =================================================================== RCS file: /data/cvs/rsync/rsync.yo,v retrieving revision 1.122 diff -u -r1.122 rsync.yo --- rsync.yo 16 May 2003 04:23:34 -0000 1.122 +++ rsync.yo 4 Jun 2003 10:02:08 -0000 @@ -871,12 +871,15 @@ selection of which files to transfer and which files to skip. rsync builds an ordered list of include/exclude options as specified on -the command line. When a filename is encountered, rsync checks the +the command line. Rsync checks each file and directory name against each exclude/include pattern in turn. The first matching pattern is acted on. If it is an exclude pattern, then that file is skipped. If it is an include pattern then that filename is not skipped. If no matching include/exclude pattern is found then the filename is not skipped. + +Only the portion of the filename and path relative to the +destination is checked. The filenames matched against the exclude/include patterns are relative to the base directories, so patterns should not -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html