Skip to main content
clarified based on comments
Source Link
Gilles 'SO- stop being evil'
  • 865.5k
  • 205
  • 1.8k
  • 2.3k

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.

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.

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.

Tweeted twitter.com/StackUnix/status/742831705208303617
Source Link

Binary diff of two folders

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.