https://bugzilla.samba.org/show_bug.cgi?id=12378
--- Comment #3 from Kevin Korb <rs...@sanitarium.net> --- I didn't say anything specific about a remote host. You excluded .cache then you told it to copy specific files some of which are in .cache. If there was a file named .cache inside of a directory that you told it to copy then it would be excluded. If you excluded userName/.cache/winetricks/msls31/InstMsiW.exe then it would be excluded. Exclude is not patern matched against parts of things you explicitly tell rsync to copy... kmk@dementia[1%]> cd /tmp kmk@dementia[2%]> mkdir test kmk@dementia[3%]> cd !$ cd test kmk@dementia[4%]> mkdir src dst kmk@dementia[5%]> cd src kmk@dementia[6%]> mkdir -p a b c d e cache/c kmk@dementia[7%]> cd .. kmk@dementia[8%]> /bin/echo -ne "a\nb\nc\nd\ne\ncache/c\n" > list kmk@dementia[9%]> cat list a b c d e cache/c kmk@dementia[10%]> rsync -vain --files-from=list --exclude=cache src/ dst/ building file list ... done cd+++++++++ a/ cd+++++++++ b/ cd+++++++++ c/ cd+++++++++ cache/ cd+++++++++ cache/c/ cd+++++++++ d/ cd+++++++++ e/ sent 157 bytes received 37 bytes 388.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kmk@dementia[11%]> rsync -vain --files-from=list --exclude=c src/ dst/ building file list ... done cd+++++++++ a/ cd+++++++++ b/ cd+++++++++ d/ cd+++++++++ e/ sent 106 bytes received 28 bytes 268.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kmk@dementia[12%]> rsync -vain --files-from=list --exclude=cache/c src/ dst/ building file list ... done cd+++++++++ a/ cd+++++++++ b/ cd+++++++++ c/ cd+++++++++ d/ cd+++++++++ e/ sent 121 bytes received 31 bytes 304.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) Cache isn't really being copied it is just being created to make a place for cache/c to be stored when cache/c or c is not excluded. -- You are receiving this mail because: You are the QA Contact for the bug. -- 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