Let's say I have two folders: before
and after
.
./before:
bash
./after:
bash
The bash
in the before
folder differs from the bash
in after
.
Using bsdiff
or a similar program, is there a way to create a binary patch between the two folders? The program does not have to support Windows. New files in the after
directory need to be included with the patch file as well.
The reason I don't want to package after
as a whole is to minimize the size of the patch.
Best Answer
The
xdelta
program does exactly what you are looking for: