title: How to exclude file types when copying recursively in Windows
body: <p>I have a windows directory X with subdirectories x_1...x_100. Each one of the subdirectories x_i (i=1..100) contains a different data file (of various names) as well as an additional file called "annotation.txt" that I do not need.</p>
  
  <p>I wish to copy all of the data files in x_1...x_100 into a new directory Y, to the exclusion of "annotation.txt", because otherwise I get prompted with 100 overwrite questions.</p>
  
  <p>The syntax I used for the recursive copy is:</p>
  
  <pre><code>for /r "C:&lt;path to X&gt; %x in (*) do move "%x" "C:&lt;path to y&gt;
  </code></pre>
  
  <p>What do I need to add in order to copy all files except "annotation.txt" (or, more generally, all files except for those containing some wild card string)?</p>