Debian Codegraph @

docs/man/man1/glzip.1.adoc

raw
1 // SPDX-FileCopyrightText: 2024 Shun Sakai
2 //
3 // SPDX-License-Identifier: CC-BY-4.0
4
5 = glzip(1)
6 // Specify in UTC.
7 :docdate: 2024-08-01
8 :revnumber: 0.3.8
9 :doctype: manpage
10 :mansource: glzip {revnumber}
11 :manmanual: General Commands Manual
12 :lzip-spec-url: https://www.nongnu.org/lzip/manual/lzip_manual.html#File-format
13
14 == NAME
15
16 glzip - reduces the size of files
17
18 == SYNOPSIS
19
20 *{manname}* [_OPTION_]... [_FILE_]...
21
22 == DESCRIPTION
23
24 *{manname}* is a simple command-line utility for reading and writing of
25 {lzip-spec-url}[lzip format] compressed files.
26
27 The lzip format uses a simplified form of the LZMA stream format. In most
28 cases, *{manname}* achieves better compression ratios than alternatives such as
29 *gzip*(1) and *bzip2*(1). Decompression speed is faster than *bzip2*(1), but
30 slower than *gzip*(1).
31
32 == POSITIONAL ARGUMENTS
33
34 _FILE_::
35
36 Input file.
37
38 == OPTIONS
39
40 *-stdout*::
41
42 Write to standard output, keep input files.
43
44 *-decompress*::
45
46 Decompress data.
47
48 *-keep*::
49
50 Keep input files.
51
52 *-dictionary-size* _BYTE_::
53
54 Set dictionary size in bytes. Default is 8388608 (8 MiB).
55
56 *-h*, *-help*::
57
58 Print help message.
59
60 *-version*::
61
62 Print version number.
63
64 == EXIT STATUS
65
66 *0*::
67
68 Successful program execution.
69
70 *1*::
71
72 An error occurred.
73
74 == NOTES
75
76 Source repository:{blank}::
77
78 https://github.com/sorairolake/lzip-go
79
80 == EXAMPLES
81
82 Compress the given file:{blank}::
83
84 $ *glzip test.txt*
85
86 Keep the given file after compression:{blank}::
87
88 $ *glzip -keep test.txt*
89
90 Compress with the specified dictionary size:{blank}::
91
92 $ *glzip -dictionary-size 4194304 test.txt*
93
94 Decompress the given lzip file:{blank}::
95
96 $ *glzip -decompress test.txt.lz*
97
98 Write the decompressed result to standard output:{blank}::
99
100 $ *glzip -decompress -stdout test.txt.lz > test.txt*
101
102 == REPORTING BUGS
103
104 Report bugs to:{blank}::
105
106 https://github.com/sorairolake/lzip-go/issues
107
108 == COPYRIGHT
109
110 Copyright (C) 2024 Shun Sakai
111
112 . This program is distributed under the terms of either the Apache License 2.0
113 or the MIT License.
114 . This manual page is distributed under the terms of the Creative Commons
115 Attribution 4.0 International Public License.
116
117 This is free software: you are free to change and redistribute it. There is NO
118 WARRANTY, to the extent permitted by law.
119
120 == SEE ALSO
121
122 *bzip2*(1), *gzip*(1), *lzip*(1)