summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2010-02-21 17:41:59 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2010-02-21 17:41:59 +0000
commit03795531fa7e3d68bd18329aceeaba57859aebd3 (patch)
treecce8ef21eb10b3a1f1e6638915082ebc85f06929 /xdelta3
parent73fb2962725b50420081b8ff6f274dc54d203d80 (diff)
Add a contributed man page.
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/xdelta3.1153
1 files changed, 153 insertions, 0 deletions
diff --git a/xdelta3/xdelta3.1 b/xdelta3/xdelta3.1
new file mode 100644
index 0000000..693171e
--- /dev/null
+++ b/xdelta3/xdelta3.1
@@ -0,0 +1,153 @@
1.TH XDELTA3 "1" "August 2009" "Xdelta3"
2.SH NAME
3xdelta3 \- VCDIFF (RFC 3284) binary diff tool
4.SH SYNOPSIS
5.B xdelta3
6.RI [ command ]
7.RI [ options ]
8.RI [ input
9.RI [ output ]]
10.SH DESCRIPTION
11.B xdelta3
12is a binary diff tool that uses the VCDIFF (RFC 3284) format and compression.
13.SH COMMANDS
14.TP
15.BI config
16prints xdelta3 configuration
17.TP
18.BI decode
19decompress the input, also set by -d
20.TP
21.BI encode
22compress the input, also set by -e (default)
23.TP
24.BI test
25run the builtin tests
26.TP
27.BI printdelta
28print information about the entire delta
29.TP
30.BI printhdr
31print information about the first window
32.TP
33.BI printhdrs
34print information about all windows
35.TP
36.BI recode
37encode with new application/secondary settings
38
39.SH OPTIONS
40standard options:
41.TP
42.BI "\-0 .. \-9"
43compression level
44.TP
45.BI "\-c"
46use stdout
47.TP
48.BI "\-d"
49decompress
50.TP
51.BI \-e
52compress
53.TP
54.BI \-f
55force overwrite
56.TP
57.BI \-h
58show help
59.TP
60.BI \-q
61be quiet
62.TP
63.BI \-v
64be verbose (max 2)
65.TP
66.BI \-V
67show version
68
69.TP
70memory options:
71.TP
72.BI \-B
73.RI bytes
74source window size
75.TP
76.BI \-W
77.RI bytes
78input window size
79.TP
80.BI \-P
81.RI size
82compression duplicates window
83.TP
84.BI \-I
85.RI size
86instruction buffer size (0 = unlimited)
87
88.TP
89compression options:
90.TP
91.BI \-s
92.RI source
93source file to copy from (if any)
94.TP
95.BI "\-S " [djw|fgk]
96enable/disable secondary compression
97.TP
98.BI \-N
99disable small string-matching compression
100.TP
101.BI \-D
102disable external decompression (encode/decode)
103.TP
104.BI \-R
105disable external recompression (decode)
106.TP
107.BI \-n
108disable checksum (encode/decode)
109.TP
110.BI \-C
111soft config (encode, undocumented)
112.TP
113.BI "\-A " [apphead]
114disable/provide application header (encode)
115.TP
116.BI \-J
117disable output (check/compute only)
118.TP
119.BI \-T
120use alternate code table (test)
121
122.SH NOTES
123The
124.B XDELTA
125environment variable may contain extra args:
126
127.RS
128XDELTA="-s source-x.y.tar.gz" \\
129.br
130tar --use-compress-program=xdelta3 -cf \\
131.br
132target-x.z.tar.gz.vcdiff target-x.y/
133
134.SH EXAMPLES
135
136Compress the differences between SOURCE and TARGET, yielding OUT,
137using "djw" secondary compression:
138
139xdelta3 -S djw -s SOURCE TARGET OUT
140
141Do the same, using standard input and output:
142
143xdelta3 -S djw -s SOURCE < TARGET > OUT
144
145To decompress OUT, using SOURCE, yielding TARGET:
146
147xdelta3 -d -s SOURCE OUT TARGET
148
149.SH AUTHOR
150xdelta3 was written by Josh MacDonald <josh.macdonald@gmail.com>.
151.PP
152This manual page was written by Leo 'costela' Antunes <costela@debian.org>
153for the Debian project (but may be used by others).