From 9cea6ef1b64d0425afc09fe66bfbf96331c324ec Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 20 Jan 2005 19:31:42 +0000 Subject: [PATCH] Improved a confusing sentence in the description of subcomponent include/exclude matching. --- rsync.yo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rsync.yo b/rsync.yo index c09a40f7..29891214 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1172,7 +1172,8 @@ look at the output when using --verbose and put a / in front of the name Note that, when using the --recursive (-r) option (which is implied by -a), every subcomponent of every path is visited from the top down, so include/exclude patterns get -applied recursively to each subcomponent. +applied recursively to each subcomponent's full name (e.g. to include +"/foo/bar/baz" the subcomponents "/foo" and "/foo/bar" must not be excluded). The exclude patterns actually short-circuit the directory traversal stage when rsync finds the files to send. If a pattern excludes a particular parent directory, it can render a deeper include pattern ineffectual -- 2.34.1