NAME¶pristine-bz2 - regenerate pristine bz2 files
SYNOPSIS¶pristine-bz2 [OPTIONS] gendelta file.bz2 delta
pristine-bz2 [OPTIONS] genbz2 delta file
DESCRIPTION¶This is a complement to the pristine-tar(1) command. Normally you don't need to run it by hand, since pristine-tar calls it as necessary to handle .tar.bz2 files.
pristine-bz2 gendelta takes the specified bz2 file, and generates a small binary delta file that can later be used by pristine-bz2 genbz2 to recreate the original file.
pristine-bz2 genbz2 takes the specified delta file, and compresses the specified input file (which must be identical to the contents of the original bz2 file). The resulting file will be identical to the original gz file used to create the delta.
Note that other tools exist, like bzip2smp or dbzip2, but they are said to be bit-identical with bzip2. Anyway, bzip2 looks like the most widespread implementation, so it's hard to find bzip2 files that make pristine-bz2 fail. Please report!
The deprecated bzip1 compression method hasn't been implemented.
If the delta filename is "-", pristine-bz2 reads or writes it to stdio.
- Verbose mode, show each command that is run.
- Debug mode.
- Don't clean up the temporary directory on exit.
- Try harder to determine how to generate deltas of difficult bz2 files.
- Specifies a location to place temporary files, other than the default.
AUTHOR¶Joey Hess <firstname.lastname@example.org>, Faidon Liambotis <email@example.com>, Cyril Brulebois <firstname.lastname@example.org>
Licensed under the GPL, version 2.