X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/986066873e17c4152c2bc6e77fe9b83fb65132d9..592f4696dc0f9d8f8f79b39375ea047db6cefe85:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 9b74edb7..e38d9447 100644 --- a/rsync.yo +++ b/rsync.yo @@ -916,15 +916,15 @@ itemize( *?[ then expression matching is applied using the shell filename matching rules. Otherwise a simple string match is used. - it() if the pattern includes a double asterisk "**" then all wildcards in - the pattern will match slashes, otherwise they will stop at slashes. + it() the double asterisk pattern "**" will match slashes while a + single asterisk pattern "*" will stop at slashes. 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. + actually be any portion of a path below the starting directory. it() if the pattern starts with "+ " (a plus followed by a space) then it is always considered an include pattern, even if specified as