Need to copy subfolders to new location and merge folders with same name
Posted on 2014-03-12
I have a drive with thousands of folders and subfolders with files in them, and I now need to take Folder Level2 & Folder Level 3 and copy to New location as Folder Level 1 and Folder 2 (I want to leave behind folder level 1 in the orginal drive.
Note that Folder Level2 & 3 will have folder identical names in many instances, so they will need to merge in the new location.
Z:\OldFiles\ABC\123\456\*.* will get copied to Z:\NewFiles\123\456\*.*
Z:\OldFiles\DEF\001\123\*.* will get copied to Z:\NewFiles\001\123\*.*
Z:\OldFiles\HIJ\123\456\*.* will get copied to Z:\NewFiles\123\456\*.* (and merge, as there is already a folder there, now)
I had asked this question previously via Q28385722, but that solution did not merge the destination folders.
Note that the actual filenames within the folders will always be unique.