title: How can I move matching files into another directory?
body: <p>I need to move thousands of images:</p>
  
  <pre><code>/Directory/0000/000000.jpg
  /Directory/..../.......jpg
  /Directory/ZZZZ/ZZZZZZ.jpg
  </code></pre>
  
  <p>to a flat directory:</p>
  
  <pre><code>/Directory/000000.jpg
  /Directory/.......jpg
  /Directory/ZZZZZZ.jpg
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>Essentially I'm looking for something like this:  (but, you know, actually works)</p>
  
  <pre><code>mv -r /Directory/*/*.jpg /Directory
  </code></pre>