lrzip.conf(5)

πŸ’– lrzip.conf β€” the manual page, but make it cute ✨

okay bestie, gather round, because today we're talking about lrzip.conf(5) β€” yes, the configuration file for lrzip, and no, it's not scary, i promise 🫢


πŸŽ€ NAME πŸŽ€

lrzip.conf β€” the Configuration File for lrzip, aka the little vibes document that tells lrzip how to act πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea: if this file exists, the lrzip program will read it, parse it, and pass those options straight into the program. some options can still be overridden on the command line. others? nah, those are fixed. locked in. no takebacks πŸ”’

the configuration file must be called lrzip.conf β€” like, that's its whole name, no nicknames. and lrzip will go looking for it automatically in one of three places:

  • $PWD β€” the Current Directory
  • /etc/lrzip
  • $HOME/.lrzip

parameters get set in PARAMETER=VALUE fashion, and any line that starts with a # β€” or that's just blank β€” gets ignored entirely. ghosted. πŸ™ˆ

parameter values are not case sensitive, except where it's specifically spelled out that they are. iykyk 😌


✨ CONFIG FILE EXAMPLE ✨

here's the whole thing, verbatim, every single line, because we do not gatekeep:

# This is a comment.

# Compression Window size in 100MB. Normally selected by program. (-w)
# WINDOW = 20
# Compression Level 1-9 (7 Default). (-L)
# COMPRESSIONLEVEL = 7
# Use -U setting, Unlimited ram. Yes or No
# UNLIMITED = NO
# Compression Method, rzip, gzip, bzip2, lzo, or lzma (default), or zpaq. (-n -g -b -l --lzma -z)
# If specified here, command line options not usable.
# COMPRESSIONMETHOD = lzma
# Perform LZO Test. Default = YES (-T )
# LZOTEST = NO
# Hash Check on decompression, (-c)
# HASHCHECK = YES
# Show HASH value on Compression even if Verbose is off, YES (-H)
# SHOWHASH = YES

# Default output directory (-O)
# OUTPUTDIRECTORY = location
# Verbosity, YES or MAX (v, vv)
# VERBOSITY = max
# Show Progress as file is parsed, YES or no (NO = -q option)
# SHOWPROGRESS = YES

# Set Niceness. 19 is default. -20 to 19 is the allowable range (-N)
# NICE = 19

# Keep broken or damaged output files, YES (-K)
# KEEPBROKEN = YES

# Delete source file after compression (-D)
# this parameter and value are case sensitive
# value must be YES to activate

# DELETEFILES = NO

# Replace existing lrzip file when compressing (-f)
# this parameter and value are case sensitive
# value must be YES to activate

# REPLACEFILE = YES

# Override for Temporary Directory. Only valid when stdin/out or Test is used
# TMPDIR = /tmp

# Whether to use encryption on compression YES, NO (-e)
# ENCRYPT = NO

every option, every comment, every flag in parentheses β€” all of it, untouched, as it should be πŸ’–


⚠️ NOTES ⚠️

okay this is the part where i need you to LOCK IN, bestie, because this is genuinely important:

be careful when using DELETEFILES or REPLACEFILE β€” no warning will be given and lrzip will simply delete the source or replace the output file! 😭

like, it will not ask. it will not hesitate. it will not send a "u sure?" text. it just does it. so double-check before you commit, fr fr πŸ’€


πŸ‘€ SEE ALSO πŸ‘€

  • lrzip(1) β€” go read that one too, it's giving main character energy πŸ‘‘

and that's the whole page, bestie!! this little cutie was born in January 2009 and got a glow-up in May 2019, and it's part of the lrzip.conf(5) manual β€” so go forth, write your config, and compress responsibly πŸŒˆπŸ’œβœ¨