.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH ZUPDATE "1" "January 2023" "zutils 1.12" "User Commands" .SH NAME zupdate \- recompress bzip2, gzip, xz, zstd files to lzip format .SH SYNOPSIS .B zupdate [\fI\,options\/\fR] [\fI\,files\/\fR] .SH DESCRIPTION zupdate recompresses files from bzip2, gzip, xz, and zstd formats to lzip format. Each original is compared with the new file and then deleted. Only regular files with standard file name extensions are recompressed, other files are ignored. Compressed files are decompressed and then recompressed on the fly; no temporary files are created. The lzip format is chosen as destination because it is the most appropriate for long\-term data archiving. .PP If no files are specified, recursive searches examine the current working directory, and nonrecursive searches do nothing. .PP If the lzip compressed version of a file already exists, the file is skipped unless the option '\-\-force' is given. In this case, if the comparison with the existing lzip version fails, an error is returned and the original file is not deleted. The operation of zupdate is meant to be safe and not cause any data loss. Therefore, existing lzip compressed files are never overwritten nor deleted. .PP The names of the original files must have one of the following extensions: .PP \&'.bz2', '.gz', '.xz', '.zst', or '.Z', which are recompressed to '.lz'. .PP \&'.tbz', '.tbz2', '.tgz', '.txz', or '.tzst', which are recompressed to '.tlz'. .PP Exit status is 0 if all the compressed files were successfully recompressed (if needed), compared, and deleted (if requested). 1 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). .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .TP \fB\-d\fR, \fB\-\-destdir=\fR