Merge folders with similar data structures and overwrite if same file name robocopy
<p>Is it possible to merge 2 folders with similar data structures with robocopy? E.g. I have a large music database, I want to merge another folder into this database but keep all the files in the database the same, except if any files with the same name exist, overwrite them. A structure being like</p>

<pre><code>C:\Music\Queen\
</code></pre>

<p>with files</p>

<pre><code>C:\Music\Queen\We will rock you
C:\Music\Queen\Dont stop me now
</code></pre>

<p>And I want to merge a structure</p>

<pre><code>D:\Music\Queen\
</code></pre>

<p>with files</p>

<pre><code>D:\Music\Queen\Dont stop me now
D:\Music\Queen\Somebody to love    
</code></pre>

<p>With the end result</p>

<pre><code>C:\Music\Queen\We will rock you
C:\Music\Queen\Dont stop me now //overwritten! Important!
C:\Music\Queen\Somebody to love
</code></pre>

<p>I have tried</p>

<pre><code>robocopy "C:\Music\" "D:\Music\" /E /XX /IS
</code></pre>

<p>But this doesn't overwrite files with the same name. Any advice?</p>