1LZIPRECOVER(1) User Commands LZIPRECOVER(1)
2
3
4
6 lziprecover - recovers data from damaged lzip files
7
9 lziprecover [options] [files]
10
12 Lziprecover is a data recovery tool and decompressor for files in the
13 lzip compressed data format (.lz). Lziprecover is able to repair
14 slightly damaged files (up to one single-byte error per member), pro‐
15 duce a correct file by merging the good parts of two or more damaged
16 copies, reproduce a missing (zeroed) sector using a reference file, ex‐
17 tract data from damaged files, decompress files, and test integrity of
18 files.
19
20 With the help of lziprecover, losing an entire archive just because of
21 a corrupt byte near the beginning is a thing of the past.
22
23 Lziprecover can remove the damaged members from multimember files, for
24 example multimember tar.lz archives.
25
26 Lziprecover provides random access to the data in multimember files; it
27 only decompresses the members containing the desired data.
28
29 Lziprecover facilitates the management of metadata stored as trailing
30 data in lzip files.
31
32 Lziprecover is not a replacement for regular backups, but a last line
33 of defense for the case where the backups are also damaged.
34
36 -h, --help
37 display this help and exit
38
39 -V, --version
40 output version information and exit
41
42 -a, --trailing-error
43 exit with error status if trailing data
44
45 -A, --alone-to-lz
46 convert lzma-alone files to lzip format
47
48 -c, --stdout
49 write to standard output, keep input files
50
51 -d, --decompress
52 decompress
53
54 -D, --range-decompress=<n-m>
55 decompress a range of bytes to stdout
56
57 -e, --reproduce
58 try to reproduce a zeroed sector in file
59
60 --lzip-level=N|a|m[N]
61 reproduce one level, all, or match length
62
63 --lzip-name=<name>
64 name of lzip executable for --reproduce
65
66 --reference-file=<file>
67 reference file for --reproduce
68
69 -f, --force
70 overwrite existing output files
71
72 -i, --ignore-errors
73 ignore some errors in -d, -D, -l, -t, --dump
74
75 -k, --keep
76 keep (don't delete) input files
77
78 -l, --list
79 print (un)compressed file sizes
80
81 -m, --merge
82 correct errors in file using several copies
83
84 -o, --output=<file>
85 place the output into <file>
86
87 -q, --quiet
88 suppress all messages
89
90 -R, --repair
91 try to repair a small error in file
92
93 -s, --split
94 split multimember file in single-member files
95
96 -t, --test
97 test compressed file integrity
98
99 -v, --verbose
100 be verbose (a 2nd -v gives more)
101
102 --loose-trailing
103 allow trailing data seeming corrupt header
104
105 --dump=<list>:d:t
106 dump members listed/damaged, tdata to stdout
107
108 --remove=<list>:d:t
109 remove members, tdata from files in place
110
111 --strip=<list>:d:t
112 copy files to stdout stripping members given
113
114 If no file names are given, or if a file is '-', lziprecover decom‐
115 presses from standard input to standard output. Numbers may be fol‐
116 lowed by a multiplier: k = kB = 10^3 = 1000, Ki = KiB = 2^10 = 1024, M
117 = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc...
118
119 To extract all the files from archive 'foo.tar.lz', use the commands
120 'tar -xf foo.tar.lz' or 'lziprecover -cd foo.tar.lz | tar -xf -'.
121
122 Exit status: 0 for a normal exit, 1 for environmental problems (file
123 not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or
124 invalid input file, 3 for an internal consistency error (e.g., bug)
125 which caused lziprecover to panic.
126
128 Report bugs to lzip-bug@nongnu.org
129 Lziprecover home page: http://www.nongnu.org/lzip/lziprecover.html
130
132 Copyright © 2022 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2
133 or later <http://gnu.org/licenses/gpl.html>
134 This is free software: you are free to change and redistribute it.
135 There is NO WARRANTY, to the extent permitted by law.
136
138 The full documentation for lziprecover is maintained as a Texinfo man‐
139 ual. If the info and lziprecover programs are properly installed at
140 your site, the command
141
142 info lziprecover
143
144 should give you access to the complete manual.
145
146
147
148lziprecover 1.23 January 2022 LZIPRECOVER(1)