1rdiff(1) General Commands Manual rdiff(1)
2
3
4
6 rdiff - compute and apply signature-based file differences
7
9 rdiff [options] signature old-file signature-file
10
11 rdiff [options] delta signature-file new-file delta-file
12
13 rdiff [options] patch old-file delta-file new-file
14
16 You can use rdiff to update files, much like rsync does. However,
17 unlike rsync, rdiff puts you in control. There are three steps to
18 updating a file: signature, delta, and patch. Use the signature subcomâ
19 mand to generate a small signature-file from the old-file. Use the
20 delta subcommand to generate a small delta-file from the signature-file
21 to the new-file. Use the patch subcommand to apply the delta-file to
22 the old-file to regenerate the new-file.
23
24
26 In every case where a filename must be specified, - may be used instead
27 to mean either standard input or standard output as appropriate. Be
28 aware that if you do this, you'll need to terminate your options with
29 -- or rdiff will think you are passing it an empty option.
30
32 0 for successful completion, 1 for environmental problems (file not
33 found, invalid options, IO error, etc), 2 for a corrupt file and 3 for
34 an internal error or unhandled situation in librsync or rdiff.
35
37 librsync(3)
38
40 Martin Pool <mbp@sourcefrog.net>
41
42 The original rsync algorithm was discovered by Andrew Tridgell.
43
44 rdiff development has been supported by Linuxcare, Inc and VA Linux
45 Systems.
46
47
48
49 $Date$ rdiff(1)