I have 2 directories structures (A and B) that normally don't overlap. I want to merge A into B.
The following command will merge the directories:
xcopy A B /E /Y
However, I want to be able to detect conflicts between my 2 directories, and don't overwrite if the file is already at destination (in B). The xcopy will automatically overwrite files. I don't want to be prompted for each conflict (/y). I want to xcopy to return an error on conflict.
The /D option does not work either, because I don't care about the date.
I guess this is not possible with xcopy. Are there other solutions for that?