I am writing a Beyond Compare script which will sync two folders. Consider these folder structures:
Folder1
-------
SubfolderA
--FileA(modified)
--FileB(new)
SubfolderB
--FileC
FileD(modified)
Folder2
-------
SubfolderA
--FileA
FileD
Now what I am trying to achieve is that after syncing them, only the files and folders pertaining to Folder2 should be copied to it.
So in this case
-the modified ones and the new ones in the SubfolderA should be copied on its counterpart
-SubfolderB should not be copied or created as there is no such subfolder in Folder2.
-Whereas the modified FileD should be copied.
What should go along with the select
and update
or sync