rdiff is a utility that is part of librsync library.
Windows:
- Download here1.
- Extract the zip
- Open the extract folder
- Open cmd in the extracted folder by typing
cmdin the File Explorer address bar and pressing enter
Linux/Mac:
rdiff should be available via package manager, and you can use it via the terminal
- Run
rdiff signature OLD_FILE OLD_FILE_SIGNATURE.sig(replace OLD_FILE as appropriate) - Send SIGNATURE.sig to the person who has the new file
- Run
rdiff delta OLD_FILE_SIGNATURE.sig NEW_FILE OLD_FILE_TO_NEW_FILE_DIFFERENCE.delta(replace NEW_FILE as appropriate) - Send OLD_FILE_TO_NEW_FILE_DIFFERENCE.delta to the person who wants the new file