title: Rsync excluding everything except 1 directory tree
body: <p>I have a directory structure with a variable number of subdirectories and files. I would like to exclude everything EXCEPT 1 subdirectory tree.</p>
  
  <p>I have tried</p>
  
  <pre><code>rsync -a --include 'wanted_dir' --exclude '*' 1/ 2/
  </code></pre>
  
  <p>but it gives me just the <code>wanted_dir</code> directory (none of the files under it).</p>