Skip to content

Latest commit

 

History

History
121 lines (69 loc) · 2.23 KB

glzip.1.adoc

File metadata and controls

121 lines (69 loc) · 2.23 KB

glzip(1) Manual Page

NAME

glzip - reduces the size of files

SYNOPSIS

glzip [OPTION]…​ [FILE]…​

DESCRIPTION

glzip is a simple command-line utility for reading and writing of lzip format compressed files.

The lzip format uses a simplified form of the LZMA stream format. In most cases, glzip achieves better compression ratios than alternatives such as gzip(1) and bzip2(1). Decompression speed is faster than bzip2(1), but slower than gzip(1).

POSITIONAL ARGUMENTS

FILE

Input file.

OPTIONS

-stdout

Write to standard output, keep input files.

-decompress

Decompress data.

-keep

Keep input files.

-dictionary-size BYTE

Set dictionary size in bytes. Default is 8388608 (8 MiB).

-h, -help

Print help message.

-version

Print version number.

EXIT STATUS

0

Successful program execution.

1

An error occurred.

NOTES

EXAMPLES

Compress the given file:

$ glzip test.txt

Keep the given file after compression:

$ glzip -keep test.txt

Compress with the specified dictionary size:

$ glzip -dictionary-size 4194304 test.txt

Decompress the given lzip file:

$ glzip -decompress test.txt.lz

Write the decompressed result to standard output:

$ glzip -decompress -stdout test.txt.lz > test.txt

REPORTING BUGS

Copyright © 2024 Shun Sakai

  1. This program is distributed under the terms of either the Apache License 2.0 or the MIT License.

  2. This manual page is distributed under the terms of the Creative Commons Attribution 4.0 International Public License.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

bzip2(1), gzip(1), lzip(1)