From 38499c1a49445e3a8d8224e303f2e34bf455f840 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 1 May 2003 19:33:57 +0000 Subject: [PATCH] Mention that a pattern with "**" is matched against the entire path, even if the pattern doesn't contain a slash. --- rsync.yo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rsync.yo b/rsync.yo index e278b7a4..f65e53cf 100644 --- a/rsync.yo +++ b/rsync.yo @@ -913,11 +913,11 @@ itemize( it() if the pattern includes a double asterisk "**" then all wildcards in the pattern will match slashes, otherwise they will stop at slashes. - it() if the pattern contains a / (not counting a trailing /) then it - is matched against the full filename, including any leading - directory. If the pattern doesn't contain a / then it is matched - only against the final component of the filename. Again, remember - that the algorithm is applied recursively so "full filename" can + it() if the pattern contains a / (not counting a trailing /) or a "**" + then it is matched against the full filename, including any leading + directory. If the pattern doesn't contain a / or a "**", then it is + matched only against the final component of the filename. Again, + remember that the algorithm is applied recursively so "full filename" can actually be any portion of a path. it() if the pattern starts with "+ " (a plus followed by a space) -- 2.34.1