1 058b0118 2005-01-03 devnull .TH GZIP 1
3 058b0118 2005-01-03 devnull gzip, gunzip, bzip2, bunzip2, zip, unzip, \- compress and expand data
4 058b0118 2005-01-03 devnull .SH SYNOPSIS
6 058b0118 2005-01-03 devnull .RB [ -cvD [ 1-9 ]]
7 058b0118 2005-01-03 devnull .RI [ file
10 058b0118 2005-01-03 devnull .B gunzip
11 058b0118 2005-01-03 devnull .RB [ -ctTvD ]
12 058b0118 2005-01-03 devnull .RI [ file
13 058b0118 2005-01-03 devnull .BR ... ]
16 058b0118 2005-01-03 devnull .RB [ -cvD [ 1-9 ]]
17 058b0118 2005-01-03 devnull .RI [ file
18 058b0118 2005-01-03 devnull .BR ... ]
20 058b0118 2005-01-03 devnull .B bunzip2
21 058b0118 2005-01-03 devnull .RB [ -cvD ]
22 058b0118 2005-01-03 devnull .RI [ file
23 058b0118 2005-01-03 devnull .BR ... ]
26 058b0118 2005-01-03 devnull .RB [ -vD [ 1-9 ]]
28 058b0118 2005-01-03 devnull .IR zipfile ]
30 058b0118 2005-01-03 devnull .RB [ ... ]
33 058b0118 2005-01-03 devnull .RB [ -cistTvD ]
35 058b0118 2005-01-03 devnull .IR zipfile ]
36 058b0118 2005-01-03 devnull .IR [ file
37 058b0118 2005-01-03 devnull .BR ... ]
38 058b0118 2005-01-03 devnull .SH DESCRIPTION
41 058b0118 2005-01-03 devnull encodes files with a hybrid Lempel-Ziv 1977 and Huffman compression algorithm
43 058b0118 2005-01-03 devnull .BR deflate .
44 058b0118 2005-01-03 devnull Most of the time, the resulting file is smaller,
45 058b0118 2005-01-03 devnull and will never be much bigger.
46 058b0118 2005-01-03 devnull Output files are named by taking the last path element of each file argument
47 058b0118 2005-01-03 devnull and appending
48 058b0118 2005-01-03 devnull .BR .gz ;
49 058b0118 2005-01-03 devnull if the resulting name ends with
50 058b0118 2005-01-03 devnull .BR .tar.gz ,
51 058b0118 2005-01-03 devnull it is converted to
54 058b0118 2005-01-03 devnull .I Gunzip
55 058b0118 2005-01-03 devnull reverses the process.
56 058b0118 2005-01-03 devnull Its output files are named by taking the last path element of each file argument,
57 058b0118 2005-01-03 devnull converting
60 058b0118 2005-01-03 devnull .BR .tar.gz ,
61 058b0118 2005-01-03 devnull and stripping any
62 058b0118 2005-01-03 devnull .BR .gz ;
63 058b0118 2005-01-03 devnull the resulting name must be different from the original name.
67 058b0118 2005-01-03 devnull .I bunzip2
68 058b0118 2005-01-03 devnull are similar in interface to
71 058b0118 2005-01-03 devnull .IR gunzip ,
72 058b0118 2005-01-03 devnull but use a modified Burrows-Wheeler block sorting
73 058b0118 2005-01-03 devnull compression algorithm.
74 058b0118 2005-01-03 devnull The default suffix for output files is
75 058b0118 2005-01-03 devnull .BR .bz2 ,
77 058b0118 2005-01-03 devnull .B .tar.bz2
79 058b0118 2005-01-03 devnull .BR .tbz .
80 058b0118 2005-01-03 devnull .I Bunzip2
81 058b0118 2005-01-03 devnull recognizes the extension
83 058b0118 2005-01-03 devnull as a synonym for
84 058b0118 2005-01-03 devnull .BR .tbz .
87 058b0118 2005-01-03 devnull encodes the named files and places the results into the archive
88 058b0118 2005-01-03 devnull .IR zipfile ,
89 058b0118 2005-01-03 devnull or the standard output if no file is given.
91 058b0118 2005-01-03 devnull extracts files from an archive created by
92 058b0118 2005-01-03 devnull .IR zip .
93 058b0118 2005-01-03 devnull If no files are named as arguments, all of files in the archive are extracted.
94 058b0118 2005-01-03 devnull A directory's name implies all recursively contained files and subdirectories.
96 058b0118 2005-01-03 devnull None of these programs removes the original files.
97 058b0118 2005-01-03 devnull If the process fails, the faulty output files are removed.
99 058b0118 2005-01-03 devnull The options are:
102 058b0118 2005-01-03 devnull Write to standard output rather than creating an output file.
105 058b0118 2005-01-03 devnull Convert all archive file names to lower case.
108 058b0118 2005-01-03 devnull Streaming mode. Looks at the file data adjacent to each compressed file
109 058b0118 2005-01-03 devnull rather than seeking in the central file directory.
110 058b0118 2005-01-03 devnull This is the mode used by
111 058b0118 2005-01-03 devnull .I unzip
113 058b0118 2005-01-03 devnull .I zipfile
114 058b0118 2005-01-03 devnull is specified.
117 058b0118 2005-01-03 devnull is given,
119 058b0118 2005-01-03 devnull is ignored.
122 058b0118 2005-01-03 devnull List matching files in the archive rather than extracting them.
125 058b0118 2005-01-03 devnull Set the output time to that specified in the archive.
127 058b0118 2005-01-03 devnull .BR -1 " .. " -9
128 058b0118 2005-01-03 devnull Sets the compression level.
130 058b0118 2005-01-03 devnull is tuned for speed,
132 058b0118 2005-01-03 devnull for minimal output size.
133 058b0118 2005-01-03 devnull The best compromise is
134 058b0118 2005-01-03 devnull .BR -6 ,
135 058b0118 2005-01-03 devnull the default.
138 058b0118 2005-01-03 devnull Produce more descriptive output.
140 058b0118 2005-01-03 devnull .BR -t ,
141 058b0118 2005-01-03 devnull adds the uncompressed size in bytes and the modification time to the output.
143 058b0118 2005-01-03 devnull .BR -t ,
144 058b0118 2005-01-03 devnull prints the names of files on standard error as they are compressed or decompressed.
147 058b0118 2005-01-03 devnull Produce debugging output.
148 058b0118 2005-01-03 devnull .SH SOURCE
149 c3674de4 2005-01-11 devnull .B \*9/src/cmd/gzip
151 c3674de4 2005-01-11 devnull .B \*9/src/cmd/bzip2
152 058b0118 2005-01-03 devnull .SH SEE ALSO
153 058b0118 2005-01-03 devnull .IR tar (1),
154 058b0118 2005-01-03 devnull .IR compress (1)
155 058b0118 2005-01-03 devnull .SH BUGS
156 058b0118 2005-01-03 devnull .I Unzip
157 058b0118 2005-01-03 devnull can only extract files which are uncompressed or compressed
158 058b0118 2005-01-03 devnull with the
159 058b0118 2005-01-03 devnull .B deflate
160 058b0118 2005-01-03 devnull compression scheme. Recent zip files fall into this category.