[archivers] xzize: improve doc
This commit is contained in:
parent
718768755c
commit
4147272b47
|
@ -43,11 +43,13 @@ compressed file to XZ (with default compression level).
|
|||
|
||||
Known compression formats are GZip (.gz), BZip2 (.bz2), LZMA (.lzma), and
|
||||
Lempel-Ziv (.Z). Short tar compressed suffixes are also allowed: .tgz, .tbz,
|
||||
.tb2, .tlz, .taz.
|
||||
.tb2, .tlz, .taz (and the output file's extension will be .txz).
|
||||
|
||||
In case of recompression, the original compressed file is kept. In case of
|
||||
compression (i.e. when the suffix of the file does not correspond to a known
|
||||
compression format), the original uncompressed file is removed.
|
||||
In case of recompression, the original compressed file is kept (so you can
|
||||
compare input and output file sizes and decide to keep the original or the
|
||||
recompressed file). In case of compression (i.e. when the suffix of the file
|
||||
does not correspond to a known compression format), the original uncompressed
|
||||
file is removed.
|
||||
|
||||
**Note**: the atool package provides the `arepack` command, which can
|
||||
recompress to several formats and not only to XZ. `xzize` has the advantage to
|
||||
|
|
|
@ -8,13 +8,14 @@
|
|||
# To Public License, Version 2, as published by Sam Hocevar. See
|
||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
#
|
||||
# This script recompresses to XZ (with maximum compression level) a
|
||||
# GZip (.gz, .tgz), BZip2 (.bz2, .tbz, .tb2), LZMA (.lzma, .tlz), and
|
||||
# Lempel-Ziv (.Z, .taz) compressed file. The original file is keeped.
|
||||
# If the file extension does not correspond to a known compression
|
||||
# format, the file is compressed to XZ. In that case, the original
|
||||
# file is removed.
|
||||
# If the file is already XZ compressed (.xz, .txz), nothing is done.
|
||||
# This script recompresses to XZ one or several GZip (.gz, .tgz), BZip2 (.bz2,
|
||||
# .tbz, .tb2), LZMA (.lzma, .tlz), or Lempel-Ziv (.Z, .taz) compressed file(s).
|
||||
# The original files are kept.
|
||||
#
|
||||
# If a file extension does not correspond to a known compression format, that
|
||||
# file is compressed to XZ. In that case, the original file is removed.
|
||||
#
|
||||
# If the file is already XZ-compressed (.xz, .txz), nothing is done.
|
||||
|
||||
#set -x
|
||||
set -u
|
||||
|
|
Loading…
Reference in New Issue