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