"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.4/scripts/to-gzip.1" (28 Mar 2021, 2263 Bytes) of package /linux/privat/littleutils-1.2.4.tar.lz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "to-gzip.1": 1.2.3_vs_1.2.4.

TO-GZIP

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
COPYRIGHT

NAME

to-gzip − converts .Z, .lzo, .zip, and .rar files to gzip format

SYNOPSIS

to-gzip [−(IPv)4] [−(IPv)6] [−d(elete_original)] [−h(elp)] [−k(eep_smallest)] [−n(o_overwrite)] [−p num_cores] [−t(imestamp_retain)] file/URL...

DESCRIPTION

to-gzip recompresses files compressed with the compress, lzop, and/or zip utilities into gzip format. The newly compressed files will usually have a .gz or a .tgz 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.

−n

Do not overwrite the target .gz or .tgz file if it already exists.

−p num_cores

Use multi-threaded pigz instead of gzip to utilize multiple cores during compression. Note that the output file, while being fully compatible with gzip, 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.

SEE ALSO

gzip(1), pigz(1), compress(1), lzop(1), zip(1), rar2tarcat(1), zip2tarcat(1), wget(1)

COPYRIGHT

Copyright (C) 2011-2021 by Brian Lindholm. 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.