<div class="gmail_quote">On Thu, Sep 30, 2010 at 8:27 AM, Ian Skinner <span dir="ltr">&lt;<a href="mailto:iskinner@cdpr.ca.gov">iskinner@cdpr.ca.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Unfortunately there are some subdirectories in some of these selected */htdocs/docs* directories that are unintentionally being excluded by these rules.  I.E. */export/home/enf/htdocs/docs/county/internal/*.</span></blockquote>
<div><br></div><div>It is usually best to anchor your matching terms, unless you want a term to float and match anywhere.  In an .rsync-filter file, terms that start with a slash are anchored in that file&#39;s directory.  You can also use a wildcard for all the subdir excusions.  For example:</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"> </div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote>+ /das<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /em<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /enf<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /internal<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /itb<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /medtox<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /pml<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /psb<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /reg<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"></blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">+ /whs<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote><meta http-equiv="content-type" content="text/html; charset=utf-8">- /*<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">+ /*/htdocs</div><div class="gmail_quote">- /*/*</div><div class="gmail_quote"><br></div><div class="gmail_quote">
+ /*/htdocs/docs</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><div class="gmail_quote">- /*/htdocs/*<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Another alternative is to sprinkle .rsync-filter files throughout your hierarchy with localized rules for that part of the hierarchy, but the above should do what you want.</div>
</div><div class="gmail_quote"><br></div>..wayne..