title: scp to copy all the files without directories
body: <p>i am trying to copy files from remote machine to local machine using scp </p>
  
  <pre><code>scp -r username@hostname:/directory .
  </code></pre>
  
  <p>I want only the file to be copied instead of directories 
  ie)</p>
  
  <pre><code>directory
       |directory2
           | file1
           | file2
       file12
  </code></pre>
  
  <p>After copying all the files the structure should be of this </p>
  
  <pre><code>localdirectory
      |file1
      |file1
      |file12
  </code></pre>
  
  <p>Is this possible using scp?</p>