rdiff(1)
π rdiff π
okay bestie, so rdiff is a whole manual page in the General Commands Manual (section 1, the classics π
) and it's literally here to compute and apply signature-based file differences. yes you read that right. it's giving glow-up-for-your-files energy. π¦
β¨ NAME β¨
rdiff β compute and apply signature-based file differences πΈ
β¨ SYNOPSYS β¨
(not me spelling it like that, it's how the page is, iykyk π)
rdiff [options] signature old-file signature-file
rdiff [options] delta signature-file new-file delta-file
rdiff [options] patch old-file delta-file new-file
β¨ USAGE β¨
ok so here's the vibe: you can use rdiff to update files, much like rsync does. BUT β and this is the main character moment β unlike rsync, rdiff puts you in control. π
there are three steps to updating a file: signature, delta, and patch. like a little three-act story. β
- use the signature subcommand to generate a small
signature-filefrom theold-file - use the delta subcommand to generate a small
delta-filefrom thesignature-fileto thenew-file - use the patch subcommand to apply the
delta-fileto theold-fileto regenerate thenew-file
no cap, that's the whole flow. π«Ά
β¨ DESCRIPTION β¨
in every case where a filename must be specified, - may be used instead to mean either standard input or standard output, as appropriate. π«
β οΈ bestie, be aware: if you do this, you'll need to terminate your options with--orrdiffwill think you are passing it an empty option. π don't get got by that one.
β¨ RETURN VALUE β¨
here's the vibe check on exit codes, fr fr:
0β for successful completion β¨ ate, no crumbs1β for environmental problems (file not found, invalid options, IO error, etc) π2β for a corrupt file π©3β for an internal error or unhandled situation inlibrsyncorrdiffπ
β¨ SEE ALSO β¨
librsync(3)β the icon, the blueprint, the blueprint icon π
β¨ AUTHOR β¨
Martin Pool <mbp@sourcefrog.net> π
the original rsync algorithm was discovered by Andrew Tridgell. lowkey a legend. π
rdiff development has been supported by Linuxcare, Inc and VA Linux Systems. shoutout to the patrons. π
and that's the whole page, bestie!! this version is dated $Date$ and it belongs to the rdiff(1) manual β periodt. π
β¨
π¦ where this page comes from
- alpine 3.22: librsync-doc 2.3.4-r1 Β· LGPL-2.1-or-later
- alpine 3.23: librsync-doc 2.3.4-r1 Β· LGPL-2.1-or-later
- alpine 3.24: librsync-doc 2.3.4-r1 Β· LGPL-2.1-or-later
- debian bookworm: rdiff 2.3.2-1+b1 Β· LGPL-2.1-or-later
- debian trixie: rdiff 2.3.4-1.1+b1 Β· LGPL-2.1-or-later
- epel 10: librsync 2.3.4-5.el10_0 Β· LGPL-2.1-or-later
- epel 9: librsync 2.3.4-1.el9 Β· LGPL-2.1-or-later
- fedora 43: librsync 2.3.4-7.fc43 Β· LGPL-2.1-or-later
- fedora 43: librsync 2.3.4-7.fc43 Β· LGPL-2.1-or-later
- fedora 44: librsync 2.3.4-8.fc44 Β· LGPL-2.1-or-later
- fedora 44: librsync 2.3.4-8.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: librsync 2.3.4
- opensuse-leap 16.0: rdiff 2.3.4-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: rdiff 2.3.4-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: rdiff 2.3.4-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: rdiff 2.3.4-160000.3.2 Β· LGPL-2.1-or-later
- ubuntu jammy: rdiff 2.3.2-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu noble: rdiff 2.3.4-1.1ubuntu2 Β· LGPL-2.1-or-later
- ubuntu questing: rdiff 2.3.4-1.1ubuntu2
- ubuntu resolute: rdiff 2.3.4-1.1ubuntu3 Β· LGPL-2.1-or-later
- ubuntu stonking: rdiff 2.3.4-1.1ubuntu3 Β· LGPL-2.1-or-later
- Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms