summaryrefslogtreecommitdiffstats
path: root/doc/clzip.info
diff options
context:
space:
mode:
Diffstat (limited to 'doc/clzip.info')
-rw-r--r--doc/clzip.info113
1 files changed, 64 insertions, 49 deletions
diff --git a/doc/clzip.info b/doc/clzip.info
index 3551973..e4b9d3e 100644
--- a/doc/clzip.info
+++ b/doc/clzip.info
@@ -12,7 +12,7 @@ File: clzip.info, Node: Top, Next: Introduction, Up: (dir)
Clzip Manual
************
-This manual is for Clzip (version 1.2, 18 May 2011).
+This manual is for Clzip (version 1.3, 25 February 2012).
* Menu:
@@ -25,7 +25,7 @@ This manual is for Clzip (version 1.2, 18 May 2011).
* Concept Index:: Index of concepts
- Copyright (C) 2010, 2011 Antonio Diaz Diaz.
+ Copyright (C) 2010, 2011, 2012 Antonio Diaz Diaz.
This manual is free documentation: you have unlimited permission to
copy, distribute and modify it.
@@ -47,6 +47,9 @@ fully compatible with lzip-1.4 or newer. Clzip is in fact a C language
version of lzip, intended for embedded devices or systems lacking a C++
compiler.
+ If you ever need to recover data from a damaged lzip file, try the
+lziprecover program.
+
Clzip replaces every file given in the command line with a compressed
version of itself, with the name "original_name.lz". Each compressed
file has the same modification date, permissions, and, when possible,
@@ -64,7 +67,7 @@ two or more compressed files. The result is the concatenation of the
corresponding uncompressed files. Integrity testing of concatenated
compressed files is also supported.
- Clzip can produce multimember files and safely recover, with
+ Clzip can produce multi-member files and safely recover, with
lziprecover, the undamaged members in case of file damage. Clzip can
also split the compressed output in volumes of a given size, even when
reading from standard input. This allows the direct creation of
@@ -185,12 +188,12 @@ The format for running clzip is:
`--version'
Print the version number of clzip on the standard output and exit.
-`-b SIZE'
-`--member-size=SIZE'
- Produce a multimember file and set the member size limit to SIZE
- bytes. Minimum member size limit is 100kB. Small member size may
- degrade compression ratio, so use it only when needed. The default
- is to produce single-member files.
+`-b BYTES'
+`--member-size=BYTES'
+ Produce a multi-member file and set the member size limit to BYTES.
+ Minimum member size limit is 100kB. Small member size may degrade
+ compression ratio, so use it only when needed. The default is to
+ produce single-member files.
`-c'
`--stdout'
@@ -205,7 +208,7 @@ The format for running clzip is:
`-f'
`--force'
- Force overwrite of output file.
+ Force overwrite of output files.
`-F'
`--recompress'
@@ -217,8 +220,8 @@ The format for running clzip is:
Keep (don't delete) input files during compression or
decompression.
-`-m LENGTH'
-`--match-length=LENGTH'
+`-m BYTES'
+`--match-length=BYTES'
Set the match length limit in bytes. After a match this long is
found, the search is finished. Valid values range from 5 to 273.
Larger values usually give better compression ratios but longer
@@ -237,26 +240,26 @@ The format for running clzip is:
`--quiet'
Quiet operation. Suppress all messages.
-`-s SIZE'
-`--dictionary-size=SIZE'
+`-s BYTES'
+`--dictionary-size=BYTES'
Set the dictionary size limit in bytes. Valid values range from
4KiB to 512MiB. Clzip will use the smallest possible dictionary
size for each member without exceeding this limit. Note that
dictionary sizes are quantized. If the specified size does not
match one of the valid sizes, it will be rounded upwards by adding
- up to (SIZE / 16) to it.
+ up to (BYTES / 16) to it.
For maximum compression you should use a dictionary size limit as
large as possible, but keep in mind that the decompression memory
requirement is affected at compression time by the choice of
dictionary size limit.
-`-S SIZE'
-`--volume-size=SIZE'
+`-S BYTES'
+`--volume-size=BYTES'
Split the compressed output into several volume files with names
`original_name00001.lz', `original_name00002.lz', etc, and set the
- volume size limit to SIZE bytes. Each volume is a complete, maybe
- multimember, lzip file. Minimum volume size limit is 100kB. Small
+ volume size limit to BYTES. Each volume is a complete, maybe
+ multi-member, lzip file. Minimum volume size limit is 100kB. Small
volume size may degrade compression ratio, so use it only when
needed.
@@ -269,11 +272,12 @@ The format for running clzip is:
`-v'
`--verbose'
- Verbose mode. When compressing, show the compression ratio for
- each file processed. When decompressing or testing, further -v's
- (up to 4) increase the verbosity level, showing status, dictionary
- size, compression ratio, and trailer contents (CRC, data size,
- member size).
+ Verbose mode.
+ When compressing, show the compression ratio for each file
+ processed.
+ When decompressing or testing, further -v's (up to 4) increase the
+ verbosity level, showing status, dictionary size, compression
+ ratio, and trailer contents (CRC, data size, member size).
`-1 .. -9'
Set the compression parameters (dictionary size and match length
@@ -376,7 +380,7 @@ additional information before, between, or after them.
`Member size (8 bytes)'
Total size of the member, including header and trailer. This
- facilitates safe recovery of undamaged members from multimember
+ facilitates safe recovery of undamaged members from multi-member
files.
@@ -388,64 +392,70 @@ File: clzip.info, Node: Examples, Next: Problems, Prev: File Format, Up: Top
WARNING! Even if clzip is bug-free, other causes may result in a corrupt
compressed file (bugs in the system libraries, memory errors, etc).
-Therefore, if the data you are going to compress is important give the
+Therefore, if the data you are going to compress is important, give the
`--keep' option to clzip and do not remove the original file until you
verify the compressed file with a command like
`clzip -cd file.lz | cmp file -'.
-Example 1: Replace a regular file with its compressed version file.lz
+Example 1: Replace a regular file with its compressed version `file.lz'
and show the compression ratio.
clzip -v file
-Example 2: Like example 1 but the created file.lz is multimember with a
-member size of 1MiB. The compression ratio is not shown.
+Example 2: Like example 1 but the created `file.lz' is multi-member
+with a member size of 1MiB. The compression ratio is not shown.
clzip -b 1MiB file
-Example 3: Restore a regular file from its compressed version file.lz.
-If the operation is successful, file.lz is removed.
+Example 3: Restore a regular file from its compressed version
+`file.lz'. If the operation is successful, `file.lz' is removed.
clzip -d file.lz
-Example 4: Verify the integrity of the compressed file file.lz and show
-status.
+Example 4: Verify the integrity of the compressed file `file.lz' and
+show status.
clzip -tv file.lz
Example 5: Compress a whole floppy in /dev/fd0 and send the output to
-file.lz.
+`file.lz'.
clzip -c /dev/fd0 > file.lz
-Example 6: Decompress file.lz partially until 10KiB of decompressed data
-are produced.
+Example 6: Decompress `file.lz' partially until 10KiB of decompressed
+data are produced.
clzip -cd file.lz | dd bs=1024 count=10
-Example 7: Create a multivolume compressed tar archive with a volume
+Example 7: Decompress `file.lz' partially from decompressed byte 10000
+to decompressed byte 15000 (5000 bytes are produced).
+
+ clzip -cd file.lz | dd bs=1000 skip=10 count=5
+
+
+Example 8: Create a multivolume compressed tar archive with a volume
size of 1440KiB.
tar -c some_directory | clzip -S 1440KiB -o volume_name
-Example 8: Extract a multivolume compressed tar archive.
+Example 9: Extract a multivolume compressed tar archive.
clzip -cd volume_name*.lz | tar -xf -
-Example 9: Create a multivolume compressed backup of a big database file
-with a volume size of 650MB, where each volume is a multimember file
-with a member size of 32MiB.
+Example 10: Create a multivolume compressed backup of a big database
+file with a volume size of 650MB, where each volume is a multi-member
+file with a member size of 32MiB.
- clzip -b 32MiB -S 650MB big_database
+ clzip -b 32MiB -S 650MB big_db

File: clzip.info, Node: Problems, Next: Concept Index, Prev: Examples, Up: Top
@@ -486,12 +496,17 @@ Concept Index

Tag Table:
Node: Top226
-Node: Introduction903
-Node: Algorithm4480
-Node: Invoking Clzip7004
-Node: File Format12275
-Node: Examples14269
-Node: Problems16038
-Node: Concept Index16564
+Node: Introduction914
+Node: Algorithm4584
+Node: Invoking Clzip7108
+Node: File Format12380
+Node: Examples14375
+Node: Problems16336
+Node: Concept Index16862

End Tag Table
+
+
+Local Variables:
+coding: iso-8859-15
+End: