On Fri, Nov 04, 2005 at 04:50:28PM -0800, Eric Horne wrote: > rsync -rvzd --include-from=incfile /top/level/dir remote::share
Your problem is that the trailing "dir" in the source is the base of the transfer, so including "/B/" will not match anything anywhere -- you'd need to use "/dir/B/" instead. Alternately, include a trailing slash after the "dir" (and add a trailing "/dir" to the destination to end up in the same place) and your original includes will work fine. As the manpage says: if you run the transfer with --dry-run (-n) and look at the names that rsync outputs via -v, those names (with an added leading slash) are what should be used in an include/exclude file for an exact match. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html