我正在编写一个 Beyond Compare 脚本,它将同步两个文件夹。考虑以下文件夹结构:
Folder1
-------
SubfolderA
--FileA(modified)
--FileB(new)
SubfolderB
--FileC
FileD(modified)
Folder2
-------
SubfolderA
--FileA
FileD
现在我想要实现的是,在同步它们之后,只有与 Folder2 相关的文件和文件夹应该被复制到它。
所以在这种情况下
-the modified ones and the new ones in the SubfolderA should be copied on its counterpart
-SubfolderB should not becopied or created as there is no such subfolder in Folder2.
-Whereas the modified FileD should be copied.
什么应该与select
和update
或一起去sync
提前致谢