1LZIPRECOVER(1)                   User Commands                  LZIPRECOVER(1)
2
3
4

NAME

6       lziprecover - recovers data from damaged lzip files
7

SYNOPSIS

9       lziprecover [options] [files]
10

DESCRIPTION

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,  produce  a  correct file by merging the good
15       parts of two or more damaged copies, reproduce a missing (zeroed)  sec‐
16       tor using a reference file, extract data from damaged files, decompress
17       files, and test integrity of files.
18
19       Lziprecover can repair perfectly most files with small  errors  (up  to
20       one single-byte error per member), without the need of any extra redun‐
21       dance at all. Losing an entire archive just because of a  corrupt  byte
22       near the beginning is a thing of the past.
23
24       Lziprecover  can remove the damaged members from multimember files, for
25       example multimember tar.lz archives.
26
27       Lziprecover provides random access to the data in multimember files; it
28       only decompresses the members containing the desired data.
29
30       Lziprecover  facilitates  the management of metadata stored as trailing
31       data in lzip files.
32
33       Lziprecover is not a replacement for regular backups, but a  last  line
34       of defense for the case where the backups are also damaged.
35

OPTIONS

37       -h, --help
38              display this help and exit
39
40       -V, --version
41              output version information and exit
42
43       -a, --trailing-error
44              exit with error status if trailing data
45
46       -A, --alone-to-lz
47              convert lzma-alone files to lzip format
48
49       -c, --stdout
50              write to standard output, keep input files
51
52       -d, --decompress
53              decompress
54
55       -D, --range-decompress=<n-m>
56              decompress a range of bytes to stdout
57
58       -e, --reproduce
59              try to reproduce a zeroed sector in file
60
61       --lzip-level=N|a|m[N]
62              reproduce one level, all, or match length
63
64       --lzip-name=<name>
65              name of lzip executable for --reproduce
66
67       --reference-file=<file>
68              reference file for --reproduce
69
70       -f, --force
71              overwrite existing output files
72
73       -i, --ignore-errors
74              ignore some errors in -d, -D, -l, -t, --dump
75
76       -k, --keep
77              keep (don't delete) input files
78
79       -l, --list
80              print (un)compressed file sizes
81
82       -m, --merge
83              correct errors in file using several copies
84
85       -o, --output=<file>
86              place the output into <file>
87
88       -q, --quiet
89              suppress all messages
90
91       -R, --repair
92              try to repair a small error in file
93
94       -s, --split
95              split multimember file in single-member files
96
97       -t, --test
98              test compressed file integrity
99
100       -v, --verbose
101              be verbose (a 2nd -v gives more)
102
103       --loose-trailing
104              allow trailing data seeming corrupt header
105
106       --dump=<list>:d:t
107              dump members listed/damaged, tdata to stdout
108
109       --remove=<list>:d:t
110              remove members, tdata from files in place
111
112       --strip=<list>:d:t
113              copy files to stdout stripping members given
114
115       If  no  file  names  are given, or if a file is '-', lziprecover decom‐
116       presses from standard input to standard output.  Numbers  may  be  fol‐
117       lowed  by a multiplier: k = kB = 10^3 = 1000, Ki = KiB = 2^10 = 1024, M
118       = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc...
119
120       To extract all the files from archive 'foo.tar.lz',  use  the  commands
121       'tar -xf foo.tar.lz' or 'lziprecover -cd foo.tar.lz | tar -xf -'.
122
123       Exit  status:  0  for a normal exit, 1 for environmental problems (file
124       not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt  or
125       invalid input file, 3 for an internal consistency error (eg, bug) which
126       caused lziprecover to panic.
127

REPORTING BUGS

129       Report bugs to lzip-bug@nongnu.org
130       Lziprecover home page: http://www.nongnu.org/lzip/lziprecover.html
131
133       Copyright © 2021 Antonio Diaz Diaz.  License GPLv2+: GNU GPL version  2
134       or later <http://gnu.org/licenses/gpl.html>
135       This  is  free  software:  you  are free to change and redistribute it.
136       There is NO WARRANTY, to the extent permitted by law.
137

SEE ALSO

139       The full documentation for lziprecover is maintained as a Texinfo  man‐
140       ual.   If  the  info and lziprecover programs are properly installed at
141       your site, the command
142
143              info lziprecover
144
145       should give you access to the complete manual.
146
147
148
149lziprecover 1.22                 January 2021                   LZIPRECOVER(1)
Impressum