forked from Parchive/par2cmdline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
par2.1
114 lines (110 loc) · 2.45 KB
/
par2.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.\" Manpage for par2
.\" Contact ike.devolder@gmail.com for mistakes.
.TH par2 1 "nov 2016" "0.6.14-mt1" "Parity archive utils"
.SH NAME
par2 \- Multithreaded PAR 2.0 compatible file verification and repair tool.
.SH SYNOPSIS
.B par2 c|v|r
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.B par2 c(reate)
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.B par2 v(erify)
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.B par2 r(epair)
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
Also:
.br
.B par2create
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.B par2verify
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.B par2repair
.RI "[options] <" "PAR2 file" "> [" "files" "]"
.br
.SH DESCRIPTION
par2cmdline-mt is a program for creating and using PAR2 files to detect damage in data files and repair them if necessary. It can be used with any kind of file.
.SH OPTIONS
.TP
.B \-h
Show this help
.TP
.B \-V
Show version
.TP
.B \-VV
Show version and copyright
.TP
.BI "\-a <" "file" ">"
Set the main PAR2 archive name; required on create, optional for verify and repair
.TP
.B \-b<n>
Set the Block\(hyCount
.TP
.B \-s<n>
.RB "Set the Block\(hySize (don't use both " "\-b" " and " "\-s" ")"
.TP
.B \-r<n>
Level of redundancy (percentage)
.TP
.B \-r<c><n>
Redundancy target size, <c>=g(iga),m(ega),k(ilo) bytes
.TP
.B \-c<n>
.RB "Recovery block count (don't use both " "\-r" " and " "\-c" ")"
.TP
.B \-f<n>
First Recovery\(hyBlock\(hyNumber
.TP
.B \-u
Uniform recovery file sizes
.TP
.B \-l
.RB "Limit size of recovery files (don't use both " "\-u" " and " "\-l" ")"
.TP
.B \-n<n>
.RB "Number of recovery files (don't use both " "\-n" " and " "\-l" ")"
.TP
.B \-m<n>
Memory (in MB) to use
.TP
.B \-t<n>
.RB "Number of threads to use (Auto-detected)"
.TP
.B \-v [\-v]
Be more verbose
.TP
.B \-q [\-q]
.RB "Be more quiet (" "\-qq" " gives silence)"
.TP
.B \-p
Purge backup files and par files on successful recovery or when no recovery is needed
.TP
.B \-R
Recurse into subdirectories (only useful on create)
.TP
.B \-N
data skipping (find badly mispositioned data blocks)
.TP
.B \-S<n>
Skip leaway (distance +/\- from expected block position)
.TP
.B \-B<path>
Set the basepath to use as reference for the datafiles
.TP
.B \-\-
Treat all following arguments as filenames
.SH AUTHORS
Peter Brian Clements <peterbclements@users.sourceforge.net>
.br
Marcel Partap <mpartap@gmx.net>
.br
Ike Devolder <ike.devolder@gmail.com>
.br
par2cmdline-mt: Jussi Kansanen <jussi.kansanen@gmail.com>
.br