Skip to content

ffdiff - Fast File Difference, a tool fast producing diff file based on an old version and a new version file, and producing new version file based on the old version and diff file, especially suitable for docker images.

License

Notifications You must be signed in to change notification settings

ActiveVolcano/ffdiff

Repository files navigation

English


Under construction...

中文


环境需求

  • 装有 Java 8 或以上版本,java 程序路径在 PATH 环境变量中。
  • 在 Linux 对命令文件设置执行权限:
chmod a+x ffdiff ffpatch

用法

  • 根据新包、旧包生成差异包:
ffdiff -base {输入旧包文件名} -target {输入新包文件名} -diff {输出差异包文件名}
  • 根据旧包、差异包生成新包:
ffpatch -base {输入旧包文件名} -diff {输入差异包文件名} -target {输出新包文件名}

参考文献

文件差异包生成工具 bsdiff 看了一下原始作者写的介绍 http://www.daemonology.net/bsdiff/ 原来为了追求体积小,用了很吃内存的算法,怪不得试用的时候卡死了。

About

ffdiff - Fast File Difference, a tool fast producing diff file based on an old version and a new version file, and producing new version file based on the old version and diff file, especially suitable for docker images.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages