title: Copy only files from one directory to another
body: <p>I'd like to copy a content of directory 1 to directory 2.
  However, I'd like to only copy files (and not directories) from my directory 1. How can I do that ? </p>
  
  <pre><code>cp dir1/* dir2/*
  </code></pre>
  
  <p>then I still have the directories issue.</p>