This reminds me about the demo utility that comes wit rsynclib called rdiff, except they approached this problem in less practical way, although it shows rsynclib better. It works as follows: - Let say you already have file that is older version, or perhaps corrupted, you use rdiff to generate its signature - you go then to the place which contains proper file and use the signature file to generate a patch file - the…
There is an elegant simplicity to rdiff, IMHO.