PRISTINE-XZ(1)

🌸 PRISTINE-XZ πŸ’…

okay bestie, welcome to pristine-xz, section 1 of the manual pages. this is a lil helper that regenerates pristine xz files, and yes it's as iconic as it sounds ✨


✨ NAME ✨

pristine-xz β€” regenerate pristine xz files πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

pristine-xz [OPTIONS] gendelta file.xz delta

pristine-xz [OPTIONS] genxz delta file

like, two whole modes. pick your fighter πŸ’…


πŸ’– DESCRIPTION πŸ’–

so this is a complement to the pristine-tar(1) command, which is its whole thing. and ngl, normally you don't even need to run it by hand β€” pristine-tar just calls it whenever it needs to handle .tar.xz files. it's giving "background character who's actually carrying the whole plot" 😭

pristine-xz gendelta takes the xz file you specified and generates a small binary delta file that can later be used by pristine-xz genxz to recreate the original file. tiny file, big destiny fr fr ✨

pristine-xz genxz takes the delta file you specified, and compresses the input file you specified (which must be identical to the contents of the original xz file). the resulting file will be identical to the original gz file used to create the delta. yes bestie, that's what it says πŸ’€

the approach used to regenerate the original xz file is to figure out how it was produced β€” like, what compression level was used, etc. currently support is poor for xz files produced with unusual compression options. so if your xz was made weird, this is lowkey not gonna eat πŸ™ˆ

if the delta filename is -, pristine-xz reads or writes it to stdio. cute, right? πŸ“


🌈 OPTIONS 🌈

  • -v β€” Verbose mode, show each command that is run. so you can watch every single step like it's a vlog πŸ‘€
  • -d β€” Debug mode. for when you need the tea πŸ«–
  • -k β€” Don't clean up the temporary directory on exit. leave the mess, it's fine, it's a vibe πŸ’…
  • -t β€” Try harder to determine how to generate deltas of difficult xz files. main character energy: it's gonna try 🧚

🌸 ENVIRONMENT 🌸

TMPDIR

Specifies a location to place temporary files, other than the default. so like, if you want your temp files somewhere else, this is your girl ✨


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <joeyh@debian.org>, Faidon Liambotis <paravoid@debian.org>, Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> 🫢

Licensed under the GPL, version 2. periodt πŸ’œ


and that's the whole page bestie, no cap πŸ’– this one's from perl v5.38.2, dated 2024-04-01, and it lives in the PRISTINE-XZ(1) section. slay, go regenerate something βœ¨πŸŒˆπŸŽ€

πŸ“¦ where this page comes from