Let's say I have two folders: before and after../before:bash./after:bashThe 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.
Binary diff of two folders
diff;binary
The xdelta program does exactly what you are looking for:Name        : xdeltaDescription : Xdelta (X for XCF: the eXperimental Computing Facility  at Berkeley) is a binary delta generator (like a diff program for  binaries) and an RCS version control replacement library. Xdelta uses  a binary file delta algorithm to replace the standard diff program  used by RCS