As part of this post I was advised to use Unison to keep 2 working copies of the same directory in sync. Since this is intended at a production environment with a certain amount of data (4.5GB) I want to make sure there aren't any problems with Unison.
What I'm looking for is a script that, given 2 target folders, can add/remove/modify files alternatively to/from each folder, while keeping track of those changes, and generate a report as to what the content the 2 target folders "should" be.
While running this script I would be running Unison as a background task.
Once the test script has finished running, I will let Unison run one more time, review the test report and compare it with the 2 folders. If both folders are in sync and their content matches the report, then I can assume Unison is working fine, otherwise not.
Q1: Do you know about such synching test script?
Q2: Do you see another way of testing Unison?