ZUPDATE(1)
β¨ ZUPDATE(1) β¨ β like, the user commands corner of the manual, but make it cute π
okay bestie, so this is the page for zupdate, and ngl it's lowkey a glow-up artist for your compressed files π
πΈ NAME πΈ
zupdate β recompress bzip2, gzip, xz, zstd files to lzip format π¦
π SYNOPSIS π
zupdate [options] [files]
periodt, that's the whole vibe.
π DESCRIPTION π
so zupdate recompresses files from bzip2, gzip, xz, and zstd formats into lzip format. each original gets compared with the new file and then deleted (unless you say otherwise, more on that below π). only regular files with standard file name extensions get recompressed β everything else is just ignored, no biggie, it's not their moment.
compressed files are decompressed and then recompressed on the fly β¨, so no temporary files are ever created. not one. zero. iconic behavior honestly.
and why lzip as the destination? because it's the most appropriate format for long-term archiving, that's why π iykyk.
if you don't specify any files, recursive searches examine the current working directory, and nonrecursive searches... do nothing. literally nothing. the vibes are just sitting there π«Ά
if the lzip-compressed version of a file already exists, that file gets skipped β unless you pass the option --force. and if you do pass --force, and the comparison with the existing lzip version fails, then an error is returned and the original file is not deleted. the whole operation of zupdate is meant to be safe and not cause any data loss. so listen: existing lzip-compressed files are never overwritten nor deleted. never ever. no cap π
the names of the original files must have one of these extensions:
'.bz2','.gz','.xz','.zst', or'.Z'β these get recompressed to'.lz'π'.tbz','.tbz2','.tgz','.txz', or'.tzst'β these get recompressed to'.tlz'πΈ
β¨ OPTIONS β¨
-h,--helpβ display this help and exit π₯°-V,--versionβ output version information and exit π«-d,--destdir=<dir>β write recompressed files into <dir> π-e,--expand-extensionsβ expand combined extensions;tgz --> tar.lzπ§-f,--forceβ don't skip a file even if the.lzexists πͺ-i,--ignore-errorsβ ignore non-fatal errors π-k,--keepβ keep (don't delete) input files π«Ά-l,--lzip-verboseβ pass one option-vto the lzip compressor π£οΈ-M,--format=<list>β process only the formats in <list> π―-N,--no-rcfileβ don't read runtime configuration file π«-q,--quietβ suppress all messages π€«-r,--recursiveβ operate recursively on directories π-R,--dereference-recursiveβ recursively follow symbolic links π-v,--verboseβ be verbose (a 2nd-vgives more) π’-x,--exclude=<pattern>β exclude files matching a shell pattern π«πΈ-0..-9β set compression level [default9] π₯--bz2=<command>β set compressor and options for bzip2 format π--gz=<command>β set compressor and options for gzip format π--lz=<command>β set compressor and options for lzip format π--xz=<command>β set compressor and options for xz format π--zst=<command>β set compressor and options for zstd format π
valid formats for option '-M' are 'bz2', 'gz', 'xz', and 'zst'. that's the list, bestie, memorize it π
π EXIT STATUS π
0β if all the compressed files were successfully recompressed (if needed), compared, and deleted (if requested) β slay1β if a non-fatal error occurred (file not found or not regular, or has invalid format, or can't be deleted) π¬2β if a fatal error occurred (invalid command-line options, compressor can't be run, or comparison fails) π
π REPORTING BUGS π
found a bug? spill it to zutils-bug@nongnu.org π§
Zutils home page: http://www.nongnu.org/zutils/zutils.html π
π COPYRIGHT π
Copyright Β© 2026 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (say it with me: no warranty, no cap π)
π¦ SEE ALSO π¦
the full documentation for zupdate is maintained as a Texinfo manual π. if the info and zupdate programs are properly installed at your site, the command
info zutils
should give you access to the complete manual β¨
and that's the whole page, bestie π this was zutils version 1.16, dated February 2026 β written by the zupdate girlies, for the zupdate girlies π mwah, go compress something iconic π¦π
π¦ where this page comes from
- ubuntu resolute: zutils 1.16-1 Β· GPL-2.0-or-later
- ubuntu stonking: zutils 1.16-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms