XDELTA3(1) General Commands Manual XDELTA3(1)NAME
xdelta3 - VCDIFF (RFC 3284) binary diff tool
SYNOPSIS
xdelta3 [command] [options] [input [output]]
DESCRIPTION
xdelta3 is a binary diff tool that uses the VCDIFF (RFC 3284) format and compression.
COMMANDS
config prints xdelta3 configuration
decode decompress the input, also set by -d
encode compress the input, also set by -e (default)
test run the builtin tests
printdelta
print information about the entire delta
printhdr
print information about the first window
printhdrs
print information about all windows
recode encode with new application/secondary settings
OPTIONS
standard options:
-0 .. -9
compression level
-c use stdout
-d decompress
-e compress
-f force overwrite
-h show help
-q be quiet
-v be verbose (max 2)
-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)
-A [apphead]
disable/provide application header (encode)
-J disable output (check/compute only)
-T use alternate code table (test)
NOTES
The XDELTA environment variable may contain extra args:
XDELTA="-s source-x.y.tar.gz"
tar --use-compress-program=xdelta3 -cf
target-x.z.tar.gz.vcdiff target-x.y/
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
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).
Xdelta3 August 2009 XDELTA3(1)
Check Out this Related Man Page
APPLESINGLE(1) BSD General Commands Manual APPLESINGLE(1)NAME
applesingle, binhex, macbinary -- encode and decode files
SYNOPSIS
<tool> probe file ...
<tool> [decode] [-c] [-fv] [-C dir] [-o outfile] [file ...]
<tool> -h | -V
applesingle encode [-cfv] [-s suf] [-C dir] [-o outfile] file ...
binhex encode [-R] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
macbinary encode [-t 1-3] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
DESCRIPTION
applesingle, binhex, macbinary are implemented as a single tool with multiple names. All invocations support the three verbs encode, decode,
and probe.
If multiple files are passed to probe, the exit status will be non-zero only if all files contain data in the specified encoding.
OPTIONS -f, --force
perform the operation even if the output file already exists
-h, --help
display version and usage, then quit
-v, --verbose
be verbose
-V, --version
display version, then quit
-c, --pipe, --from-stdin, --to-stdout
For decode, read encoded data from the standand input. For encode, write encoded data to the standard output. Currently, "plain"
data must be written to and from specified filenames (see also mount_fdesc(8)).
-C, --directory dir
create output files in dir
-o, --rename name
Use name for output, overriding any stored or default name. For encode, the appropriate suffix will be added to name. -o implies
only one file to be encoded or decoded.
-s, --suffix .suf
override the default suffix for the given encoding
-R, --no-runlength-encoding
don't use BinHex runlength compression when encoding
-t, --type 1-3
Specify MacBinary encoding type. Type 1 is undesirable because it has neither a checksum nor a signature and is thus difficult to
recognize.
DIAGNOSTICS
In general, the tool returns a non-zero exit status if it fails.
Darwin 14 November 2005 Darwin