2013-08-09 1 views
0

두 개의 폴더를 동기화 할 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. 

사전

selectupdate 또는 sync

감사와 함께 가야 어떤

답변

1

그래서 게시 답을 찾는 시간을 기다리고하지 후 Beyond Compare 팀의 개발자와 동일한 질문입니다. 그는 현재 버전에서는 불가능하다고 말했다. 그러나 이에 대한 해결 방법이 있습니다.

우리가 할 수있는 일은 필터 목록에 필요하지 않은 폴더 값인 hardcode입니다. 그러면 처리해 드리겠습니다. 우리가 할 수있는 우리의 예를 들어 그래서

filter "-SubfolderB\" 
load c:\Folder1 c:\Folder2 
sync update:left->right 
같은 스크립트