title: Synchronize content of directories in Linux
body: <p>Let's assume I have following source directory</p>
  
  <pre><code>source/
      subdir1/file1
      subdir1/file2
      subdir2/file3
      subdir3/file4
  </code></pre>
  
  <p>and target directory</p>
  
  <pre><code>target
      subdir1/file5
      subdir2/file6
      subdir4/file7
  </code></pre>
  
  <p>I would like to move content of source subdirectories to right target subdirectories so result look like this</p>
  
  <pre><code>target
      subdir1/file1
      subdir1/file2    
      subdir1/file5
      subdir2/file6
      subdir2/file3
      subdir3/file4
      subdir4/file7
  </code></pre>
  
  <p>Is there some Linux command to do this or must I write a script myself?    </p>