ZUPDATE(1) | User Commands | ZUPDATE(1) |
zupdate - recompress bzip2, gzip, xz files to lzip format
zupdate [options] [files]
Zupdate recompresses files from bzip2, gzip, and xz 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.
If no files are specified, recursive searches examine the current working directory, and nonrecursive searches do nothing.
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 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.
Exit status is 0 if all the compressed files were successfully recompressed (if needed), compared and deleted (if requested). Non-zero otherwise.
Report bugs to zutils-bug@nongnu.org
Zutils home page: http://www.nongnu.org/zutils/zutils.html
Copyright © 2019 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.
January 2019 | zupdate (zutils) 1.8 |