LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xdelta

Binary delta compression and patching

TLDR

Create delta
$ xdelta delta [old_file] [new_file] [patch.xdelta]
copy
Apply patch
$ xdelta patch [patch.xdelta] [old_file] [new_file]
copy
Create with compression
$ xdelta -9 delta [old_file] [new_file] [patch.xdelta]
copy
Show patch info
$ xdelta info [patch.xdelta]
copy
Test patch
$ xdelta test [patch.xdelta] [old_file]
copy

SYNOPSIS

xdelta command [options] [files]

DESCRIPTION

xdelta creates and applies binary delta patches between two versions of a file. The delta command compares an old file with a new file and produces a compact patch file containing only the differences, which is typically much smaller than distributing the full new file.The patch command reconstructs the new file by applying the delta to the original file. Configurable compression levels trade processing time for smaller patch sizes. The tool is commonly used for software update distribution, ROM patching, and efficient file synchronization where only changes need to be transmitted.

PARAMETERS

delta

Create delta file.
patch
Apply delta file.
info
Show patch info.
test
Verify patch.
-0 to -9
Compression level.
-f, --force
Force overwrite.
-s SOURCE
Source file.

INSTALL

sudo apt install xdelta
copy
sudo dnf install xdelta
copy
brew install xdelta
copy
nix profile install nixpkgs#xdelta
copy

CAVEATS

Old file must match exactly. Large files need memory. Version compatibility matters.

HISTORY

xdelta was created for efficient binary differencing. Version 1 evolved into xdelta3 with VCDIFF standard support.

SEE ALSO

xdelta3(1), bsdiff(1), rdiff(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid