xdeltadir

Langue: en

Version: 43676 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

NAME

xdeltadir - Invoke XDeltadir

SYNOPSIS

xdeltadir subcommand [ operand... ]

DESCRIPTION

XDeltadir is a perl script that wraps around the XDelta program. XDeltadir provides the ability to generate deltas between files in the two directories and later apply those deltas. It operates similar to the diff and patch commands, but works on binary files stored in two different directories and does not produce a human readable output.

XDeltadir has two subcommands, delta and patch. Delta accepts two directories and produces a delta, while patch accepts the original directory and a delta and produces the other directory. As opposed to the the diff(1) format, which can usually be reversed, these deltas are one way.

Subcommands

Each subcommand will be detailed seperately. In general, any input file may be compressed with gzip(1) and XDelta program called from XDeltadir will automatically uncompress it into a temporary location before examining the file. This temporary location is either the value of the environment variable, if set, or "/tmp". Unless turned off, XDelta always verifies the integrity of reconstructed files with MD5 checksums. By default, XDelta compresses constructed deltas.

Delta

The delta subcommand has the following synopsis:

xdeltadir delta from_dir to_dir patch_dir

Computes a deltas for the files from from_dir to to_dir and writes them to patch_dir

Patch

The patch subcommand has the following synopsis:

xdeltadir patch patch_dir from_dir to_dir

Applies patches from patch_dir to files from from_dir The from files must be identical to the ones used to create the deltas. Its MD5 checksum is used to verify this condition. The constructed files and directories will be written to to_dir

All the directories must exist before running the xdeltadir.

SEE ALSO

xdelta (1)

IDENTIFICATION

Author: Radim Gelner, <radim.gelner@suse.cz>
Manual Page Revision: 1.0; Release Date: Fri Jan 26 11:53:23 CET 2001
Copyright © 2001