I believe this question to be very simple however I want to triple check before I screw myself up. My testing has shown this process to work (I think, but I may be missing something) but again I'd like a 2nd set of eyes.
I have c:\1 and c:\2 with subdirectories. In some cases a file or directory will exist in one but not the other, in some cases the same file will exist in both sides in the same location but one is newer than the other, yada yada.
Is it as simple as:
xcopy c:\1 c:\2
? In which case c:\2 would be the latest. (And of course if I did xcopy c:\2 c:\1 then I'd end up with identical directory structures.)