This tool allows to synchronise two directories on air-gapped machines. This is done by:
The main goal is to minimise the volume of files that has to be transferred between the machines: copies and renaming will be performed at the destination when possible, and each missing content is put in the updates only once.
This is how to transfer directory src from machine A to dst on machine B.
On machine B:
cd dst update_sums cp -p sha1sums sha1sums_B
On machine A:
cd src update_sums cd .. # assuming there is enough room here mkdir updates prepare_update src sha1sums_B updates
Get the generated update script and the updates directory to machine B, and there, run:
./update updates dst
air-gapped_sync-1.1.tgz. Get this test framework, if you want to run the tests. See the README for more information on dependencies, testing, installation and design.
These two are released under GPL.