There are some folder that I want to integrate to one folder on the remote end. This is the sample structure from the source folder:
c:\Repli\Folder1\file1.txt c:\Repli\Folder1\file2.txt c:\Repli\Folder2\file3.txt c:\Repli\Folder3\file4.txt
The remote Folder looks like:
c:\Repli\file1.txt c:\Repli\file2.txt c:\Repli\Folder2\file3.txt c:\Repli\file4.txt
I solve it with this three commands or replace unison with rsync:
unison c:\Repli\Folder1\ \\remote1\c$\Repli\ unison c:\Repli\Folder2\ \\remote1\c$\Repli\Folder2\ unison c:\Repli\Folder3\ \\remote1\c$\Repli\
This works fine for me but there are two problems now, I want to replicate the same scenario to remote2 and remote3 so I'll need nine commands to replicate, the other problem is that i only want to distribute from one to many, so I'll ignore what was changed on remote1 to remote3 and overwrite it. Can I say to unison that only ---> direction should be execute and <--- should be ignored?
Any suggestion to solve this scenario?