2025-02-24 05:45:19 +01:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.37.1.
|
2025-02-24 05:48:02 +01:00
|
|
|
.TH ZUPDATE "1" "June 2014" "zupdate (zutils) 1.3-pre1" "User Commands"
|
2025-02-24 05:45:19 +01:00
|
|
|
.SH NAME
|
2025-02-24 05:48:02 +01:00
|
|
|
zupdate \- recompress bzip2, gzip, xz files to lzip files
|
2025-02-24 05:45:19 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B zupdate
|
|
|
|
[\fIoptions\fR] [\fIfiles\fR]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Zupdate recompresses files from bzip2, gzip, and xz formats to lzip format.
|
|
|
|
The originals are compared with the new files 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 by far the most
|
|
|
|
appropriate for long\-term data archiving.
|
|
|
|
.PP
|
|
|
|
If the lzip compressed version of a file already exists, the file is
|
|
|
|
skipped unless the '\-\-force' option is given. In this case, if the
|
2025-02-24 05:47:25 +01:00
|
|
|
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 produce any data loss. Therefore, existing lzip
|
|
|
|
compressed files are never overwritten nor deleted.
|
2025-02-24 05:45:19 +01:00
|
|
|
.PP
|
|
|
|
Exit status is 0 if all the compressed files were successfully
|
2025-02-24 05:48:02 +01:00
|
|
|
recompressed (if needed), compared and deleted (if requested). Non\-zero
|
|
|
|
otherwise.
|
2025-02-24 05:45:19 +01:00
|
|
|
.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\-f\fR, \fB\-\-force\fR
|
|
|
|
do not skip a file even if the .lz exists
|
|
|
|
.TP
|
2025-02-24 05:45:59 +01:00
|
|
|
\fB\-k\fR, \fB\-\-keep\fR
|
|
|
|
keep (don't delete) input files
|
|
|
|
.TP
|
2025-02-24 05:45:19 +01:00
|
|
|
\fB\-l\fR, \fB\-\-lzip\-verbose\fR
|
|
|
|
pass a \fB\-v\fR option to the lzip compressor
|
|
|
|
.TP
|
|
|
|
\fB\-N\fR, \fB\-\-no\-rcfile\fR
|
|
|
|
don't read runtime configuration file
|
|
|
|
.TP
|
|
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
|
|
suppress all messages
|
|
|
|
.TP
|
|
|
|
\fB\-r\fR, \fB\-\-recursive\fR
|
|
|
|
operate recursively on directories
|
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
|
|
be verbose (a 2nd \fB\-v\fR gives more)
|
|
|
|
.TP
|
|
|
|
\fB\-0\fR .. \fB\-9\fR
|
|
|
|
set compression level [default 9]
|
|
|
|
.TP
|
|
|
|
\fB\-\-bz2=\fR<command>
|
|
|
|
set compressor and options for bzip2 format
|
|
|
|
.TP
|
|
|
|
\fB\-\-gz=\fR<command>
|
|
|
|
set compressor and options for gzip format
|
|
|
|
.TP
|
|
|
|
\fB\-\-lz=\fR<command>
|
|
|
|
set compressor and options for lzip format
|
|
|
|
.TP
|
|
|
|
\fB\-\-xz=\fR<command>
|
|
|
|
set compressor and options for xz format
|
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Report bugs to zutils\-bug@nongnu.org
|
|
|
|
.br
|
|
|
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
|
|
|
.SH COPYRIGHT
|
2025-02-24 05:47:25 +01:00
|
|
|
Copyright \(co 2014 Antonio Diaz Diaz.
|
2025-02-24 05:48:02 +01:00
|
|
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
2025-02-24 05:45:19 +01:00
|
|
|
.br
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
|
|
There is NO WARRANTY, to the extent permitted by law.
|