<div class="gmail_quote">On Thu, Apr 22, 2010 at 9:04 AM, Wolter, John D. (GRC-RTE0) <span dir="ltr">&lt;<a href="mailto:john.d.wolter@nasa.gov">john.d.wolter@nasa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">







<div>
<font face="Calibri, sans-serif" size="2">
<div>This doesn&#39;t work (it only syncs the directory file named gale):</div><div>

+ /gale<br>

+ /gale/solver-alpha<br>

+ /gale/solver-alpha/**<br>

- *</div></font></div></blockquote></div><div><br></div>That should work fine, and is unlikely to be an rsync bug.  I&#39;d imagine there is some slight difference between the actual dir name and the include line.  e.g., make sure there is not a trailing space on the line that includes the solver-alpha directory.  Make sure that the dirname exactly matches that in both case and characters.  Make sure that there aren&#39;t any earlier exclude rules superseding those rules (is that the only exclude file?)<div>
<br></div><div>If you can&#39;t see an issue, try adding a second -v option to the transfer and reading the &quot;hiding&quot; message that rsync outputs, such as:<div><br></div><div><div>[sender] hiding file gale/Solver-alpha because of pattern *</div>
<div><br></div><div>If there is the possibility of other &quot;- *&quot; rules existing, you can tweak the one above to be &quot;- **&quot; (with a superfluous &#39;*&#39;) so you can make sure that you see &quot;because of pattern **&quot; in the output.</div>
<div><br></div>..wayne..<br>
</div></div>