PRISTINE-BZ2(1)
π PRISTINE-BZ2 π
okay bestie, welcome to pristine-bz2 β the little helper that regenerates pristine bz2 files β¨ (yes, "pristine" like brand new, untouched, immaculate, main character energy π )
β¨ SYNOPSIS β¨
pristine-bz2 [OPTIONS] gendelta file.bz2 delta
pristine-bz2 [OPTIONS] genbz2 delta file
two modes, two moods, both iconic π«Ά
πΈ DESCRIPTION πΈ
so basically this is a complement to the pristine-tar(1) command. and no, you normally don't need to run it by hand β pristine-tar calls it whenever it needs to handle .tar.bz2 files. it's giving "backstage crew" energy, honestly. the star of the show never thanks them but the whole thing falls apart without them π
pristine-bz2 gendelta takes the bz2 file you point it at, and generates a small binary delta file that can later be used by pristine-bz2 genbz2 to recreate the original file. tiny file, big responsibilities β¨
pristine-bz2 genbz2 takes that delta file you made, and compresses the input file you give it (which must be identical to the contents of the original bz2 file, no cap, don't try to be slick). the resulting file will be identical to the original gz file used to create the delta π
the whole approach to regenerating the original bz2 file is: figure out how it was produced in the first place. specifically β
it's giving detective work π but make it compression.
side note bestie: other tools exist, likebzip2smpordbzip2, but they're said to be bit-identical withbzip2. anyway,bzip2looks like the most widespread implementation, so it's genuinely hard to find bzip2 files that make pristine-bz2 fail. so if you find one β please report! π’
also, the deprecated bzip1 compression method hasn't been implemented. rip bzip1, you will not be missed πͺ¦
and one last thing: if the delta filename is -, then pristine-bz2 reads or writes it to stdio. cute, right? π
π OPTIONS π
-vβ verbose mode, bestie. it shows you each command that is run. it's giving "narrator voice" β¨-dβ debug mode. for when you need to know everything, all at once, no filter π-kβ don't clean up the temporary directory on exit. it's a little messy, a little hoarder-coded, but sometimes you just need to keep the receipts π-tβ try harder to determine how to generate deltas of difficult bz2 files. effort mode: activated πͺ
π¦ ENVIRONMENT π¦
TMPDIRβ specifies a location to place temporary files, other than the default. it's the "where do i put my stuff" setting, but make it official πΈ
π AUTHOR π
- Joey Hess
<joeyh@debian.org> - Faidon Liambotis
<paravoid@debian.org> - Cyril Brulebois
<cyril.brulebois@enst-bretagne.fr>
Licensed under the GPL, version 2. slay, legally speaking βοΈβ¨
and that's the whole vibe, bestie! this page came to you courtesy of perl v5.38.2 and is dated 2024-04-01. go regenerate something pristine, you absolute icon π«Άπ
π¦ where this page comes from
- ubuntu noble: pristine-tar 1.50+nmu2build1 Β· GPL-2.0-or-later
- ubuntu questing: pristine-tar 1.50+nmu2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms