title: How do I compare two directories while ignoring certain directory names?
body: <p>I want to iteratively compare two directories, A and B, under Linux using:</p>
  
  <pre><code>diff -r ./A ./B
  </code></pre>
  
  <p>but I want to ignore some subdirectory names, e.g. a subdirectory called "svn".</p>
  
  <p>How do I do it under Linux?</p>