manpagez: man pages & more
man to-xz(1)
Home | html | info | man
to-xz(1)                                                              to-xz(1)




NAME

       to-xz - converts .Z, .lzo, .gz, .zip, .rar, .bz2, .zst, and .lzma files
       to xz format


SYNOPSIS

       to-xz [-(IPv)4] [-(IPv)6] [-d(elete_original)] [-h(elp)] [-k(eep_small-
       est)]  [-m(ax_compress)]  [-n(o_overwrite)]  [-p  num_cores]  [-t(imes-
       tamp_retain)] file/URL...


DESCRIPTION

       to-xz recompresses files compressed with the compress, lzop, zip, gzip,
       bzip2,  zstd,  and/or lzma(_alone) utilities into xz format.  The newly
       compressed files will usually have a .xz or a  .txz  extension.   If  a
       specified  file is actually a URL, it will be downloaded using wget and
       then recompressed.


OPTIONS

       -4     Prefer IPv4 when downloading a URL.

       -6     Prefer IPv6 when downloading a URL.

       -d     After each file is compressed, delete the original.

       -h     Print help and quit.

       -k     Once a file is successfully recompressed, delete the  larger  of
              the  original  file  or the new one.  This option maximizes disk
              space savings and is incompatible with the -d option.

       -m     Compress more, but at the expense of increased CPU time and mem-
              ory usage.

       -n     Do  not  overwrite  the  target  .xz  or .txz file if it already
              exists.

       -p num_cores
              Use the multi-threaded -T option of xz to utilize multiple cores
              during  compression.   Note  that  the  output file, while being
              fully compatible with unthreaded xz, will generally be  slightly
              larger.   Specifying  a num_cores value of zero will utilize all
              available cores.

       -t     Make the timestamp of new files match those of the old files.

              xz(1), compress(1), lzop(1), zip(1), gzip(1), bzip2(1), zstd(1),
              lzma(1), lzma_alone(1), rar2tarcat(1), zip2tarcat(1), wget(1)


COPYRIGHT

       Copyright  (C) 2009-2020 by Brian Lindholm and D. Gloger.  This program
       is free software; you can use it, redistribute  it,  and/or  modify  it
       under  the  terms of the GNU General Public License as published by the
       Free Software Foundation; either version 3, or  (at  your  option)  any
       later version.

       This  program  is  distributed  in the hope that it will be useful, but
       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER-
       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       Public License for more details.



littleutils                       2020 Oct 19                         to-xz(1)

littleutils 1.2.3 - Generated Mon Nov 30 18:52:07 CST 2020
© manpagez.com 2000-2021
Individual documents may contain additional copyright information.