<div dir="ltr"><div dir="ltr">On Mon, Jan 24, 2022 at 1:08 AM Jürgen Bausa via rsync <<a href="mailto:rsync@lists.samba.org">rsync@lists.samba.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">However, it didn't work in the beginning and took me some time to find out, that a space at the end (e.g. "+ /mnt/Windows/Users " in the second line) will be interpreted and thus, the directory is assumed to be "Users " and not "Users".</blockquote><div><br></div><div>When working on some filter rules it helps to use --debug=FILTER or --debug=FILTER2 options. (While these are implied by -vv and -vvv respectively, it's better to be more specific in what you want to debug.)  The FILTER2 level mentions the add_rule(RULE_HERE) call where a trailing space would be visible prior to the trailing paren, though it might not be immediately obvious.  I've just made a change in git that makes rsync output a warning message in either debug-filter level if there is a trailing space or tab on a rule, which will help someone notice it if they didn't intend to specify it.</div><div><br></div>..wayne..<br class="gmail-Apple-interchange-newline"></div></div>