<div class="gmail_quote">On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler <span dir="ltr"><<a href="mailto:thomas.gutzler@gmail.com">thomas.gutzler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I thought --include="/this_dir/" --include="/this_dir/***" would do it,<br>
but it doesn't. The exclude * seems to overwrite the include matches:<br>
[sender] hiding file this_dir/foo because of pattern *<br></blockquote><div><br>Order is important. Whatever matches first, is what takes effect. Also, *** matches both the dir and its contents, so you could use:<br><br>
--include='/this_dir/***' --exclude=*<br><br>As long as "this_dir" is in the root of the transfer, that will work.<br></div><br></div>..wayne..<br>