XDELTA3(1)
β¨ XDELTA3 β¨
okay bestie, sit DOWN because today we're talking about xdelta3, a binary diff tool that runs on the VCDIFF (RFC 3284) format plus compression π
it's the girl who finds the differences between two files and makes them smol. no cap.
πΈ SYNOPSIS πΈ
xdelta3 [command] [options] [input [output]]
like. give her a command, some options, an input, an output. she'll handle it π«Ά
π DESCRIPTION π
xdelta3 is a binary diff tool that uses the VCDIFF (RFC 3284) format and compression. that's it, that's the whole vibe. binary diffs, iconic format, compressed, slay π₯
π COMMANDS π
configβ prints xdelta3 configuration. show me ur settings queen πdecodeβ decompress the input, also set by-dencodeβ compress the input, also set by-e(this is the default one, the main character β)testβ run the builtin tests. she's testing herself, as she should π§printdeltaβ print information about the entire deltaprinthdrβ print information about the first windowprinthdrsβ print information about all windowsrecodeβ encode with new application/secondary settings
π OPTIONS π
standard options:
-0..-9β compression level. pick ur level, girl π-cβ use stdout-dβ decompress-eβ compress-fβ force overwrite. she WILL overwrite, no questions π-Fβ force the external-compression subprocess-hβ show help-qβ be quiet π€«-vβ be verbose (max 2). two is the limit bestie, don't push it-Vβ show version
memory options:
-Bβ bytes source window size-Wβ bytes input window size-Pβ size compression duplicates window-Iβ size instruction buffer size (0= unlimited)
compression options:
-sβ source source file to copy from (if any)-S [djw|fgk]β enable/disable secondary compression-Nβ disable small string-matching compression-Dβ disable external decompression (encode/decode)-Rβ disable external recompression (decode)-nβ disable checksum (encode/decode)-Cβ soft config (encode, undocumented). literally undocumented, we know nothing, she's mysterious β¨-A [apphead]β disable/provide application header (encode)-Jβ disable output (check/compute only)-Tβ use alternate code table (test)-mβ arguments for"merge"
π¦ NOTES π¦
the XDELTA environment variable may contain extra args, and honestly that's her little superpower:
XDELTA="-s source-x.y.tar.gz" \
tar --use-compress-program=xdelta3 -cf \
target-x.z.tar.gz.vcdiff target-x.y/
look at her go ππ
π EXAMPLES π
compress the differences between SOURCE and TARGET, yielding OUT, using "djw" secondary compression:
xdelta3 -S djw -s SOURCE TARGET OUT
do the same, using standard input and output:
xdelta3 -S djw -s SOURCE < TARGET > OUT
to decompress OUT, using SOURCE, yielding TARGET:
xdelta3 -d -s SOURCE OUT TARGET
three examples, all iconic, all ate π
π AUTHOR π
xdelta3 was written by Josh MacDonald <josh.macdonald@gmail.com>.
this manual page was written by Leo 'costela' Antunes <costela@debian.org> for the Debian project (but may be used by others). give her her flowers fr fr πΈ
that's the whole page bestie, go compress something π«Ά
okay and one last thing β this was the xdelta3 page from the Xdelta3 manual, dated August 2013, living in section XDELTA3(1) of the general commands manual. mwah π
π¦ where this page comes from
- epel 10: xdelta 3.1.0-22.el10_0 Β· Apache-2.0
- epel 9: xdelta 3.1.0-17.el9 Β· ASL 2.0
- fedora 43: xdelta 3.1.0-23.fc43 Β· Apache-2.0
- fedora 44: xdelta 3.1.0-24.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms