-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrar.1
343 lines (343 loc) · 5.72 KB
/
rar.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
.\" rar - utility for creation RAR archives
.TH "RAR" "1" "Kirill Rusinov" "September 28, 2014" "General Commands Manual"
.SH "NAME"
rar \- utility for creation RAR archives
.SH "SYNOPSIS"
.BR rar
.I "[command] [options] [archive] [filenames...] [@filelist...] [path to extract]"
.SH "DESCRIPTION"
RAR is a console application allowing to manage archive files in
command line mode. RAR provides compression, encryption, data recovery
and some other functions.
.PP
RAR supports only RAR format archives, which have *.rar file name
extension by default. ZIP and other formats are not supported.
.PP
Commands and options described here are as of RAR 5.11.
.SH "COMMANDS"
.TP
.B e
Extract files to current directory.
.TP
.B a
Add files to archive.
.TP
.B c
Add archive comment.
.TP
.B ch
Change archive parameters.
.TP
.B cw
Write archive comment to file.
.TP
.B d
Delete files from archive.
.TP
.B e
Extract files without archived paths.
.TP
.B f
Freshen files in archive.
.TP
.B i[par]=[string]
Find string in archives.
.TP
.B k
Lock archive.
.TP
.B l[t[a],b]
List archive contents [technical[all],bare].
.TP
.B m[f]
Move to archive [files only].
.TP
.B p
Print file to stdout.
.TP
.B r
Repair archive.
.TP
.B rc
Reconstruct missing volumes.
.TP
.B rn
Rename archived files.
.TP
.B rr[N]
Add data recovery record.
.TP
.B rv[N]
Create recovery volumes.
.TP
.B s[name|\-]
Convert archive to or from SFX.
.TP
.B t
Test archive files.
.TP
.B u
Update files in archive.
.TP
.B v[t[a],b]
Verbosely list archive contents [technical[all],bare]
.TP
.B x
Extract files with full path
.SH "OPTIONS"
.BR "NOTE:"
Every option must be separated by a whitespace. You cannot put them
together.
.TP
.B \-
Stop switches scanning.
.TP
.B @[+]
Disable [enable] file lists.
.TP
.B \-ad
Append archive name to destination path.
.TP
.B \-ag[format]
Generate archive name using the current date.
.TP
.B \-ai
Ignore file attributes.
.TP
.B \-ap[path]
Set path inside archive.
.TP
.B \-as
Synchronize archive contents.
.TP
.B \-c\-
Disable comments show.
.TP
.B \-cfg\-
Disable read configuration.
.TP
.B \-cl
Convert names to lower case.
.TP
.B \-cu
Convert names to upper case.
.TP
.B \-df
Delete files after archiving.
.TP
.B \-dh
Open shared files.
.TP
.B \-ds
Disable name sort for solid archive.
.TP
.B \-dw
Wipe files after archiving.
.TP
.B \-e[+][attr]
Set file exclude and include attributes.
.TP
.B \-ed
Do not add empty directories
.TP
.B \-en
Do not put 'end of archive' block.
.TP
.B \-ep
Exclude paths from names.
.TP
.B \-ep1
Exclude base directory from names.
.TP
.B \-ep3
Expand paths to full including the drive letter.
.TP
.B \-f
Freshen files.
.TP
.B \-hp[password]
Encrypt both file data and headers.
.TP
.B \-ht[b|c]
Select hash type [BLAKE2 or CRC32] for file checksum.
.TP
.B \-id[c,d,p,q]
Disable messages.
.TP
.B \-ierr
Send all messages to stderr.
.TP
.B \-ilog[name]
Log errors to file (registered versions only).
.TP
.B \-inul
Disable all messages.
.TP
.B \-isnd
Enable sound.
.TP
.B \-k
Lock archive.
.TP
.B \-kb
Keep broken extracted files.
.TP
.B \-log[f][=name]
Write names to log file.
.TP
.B \-m[0..5]
Set compression level [0-store...3-default...5-maximal].
.TP
.B \-ma[4|5]
Specify a version of archiving format.
.TP
.B \-mc[par]
Set advanced compression parameters.
.TP
.B \-md[k,m,g]
Dictionary size in KB, MB or GB.
.TP
.B \-ms[ext1;ext2;...]
Specify file types to store.
.TP
.B \-mt[threads]
Set the number of threads.
.TP
.B \-n[file]
Additionally filter included files.
.TP
.B \-n@
Read additional filter masks from stdin.
.TP
.B \-n@[list]
Read additional filter masks from filelist.
.TP
.B \-o[+|\-]
Set the overwrite mode.
.TP
.B \-oh
Save hard links as the link instead of the file.
.TP
.B \-oi[0\-4][:min]
Save identical files as references.
.TP
.B \-ol
Save symbolic links as the link instead of the file.
.TP
.B \-or
Rename files automatically.
.TP
.B \-ow
Save or restore file owner and group.
.TP
.B \-p[password]
Set password.
.TP
.B \-p\-
Do not query password.
.TP
.B \-qo[\-|+]
Add quick open information [none|force].
.TP
.B \-r
Recurse subdirectories.
.TP
.B \-r\-
Disable recursion.
.TP
.B \-r0
Recurse subdirectories for wildcard names only.
.TP
.B \-rr[N]
Add data recovery record.
.TP
.B \-rv[N]
Create recovery volumes.
.TP
.B \-s[[N],v[\-],e]
Create solid archive.
.TP
.B \-s\-
Disable solid archiving.
.TP
.B \-sc[char][obj]
Specify the character set.
.TP
.B \-sfx[name]
Create SFX archive.
.TP
.B \-si[name]
Read data from stdin.
.TP
.B \-sl[size]
Process files with size less than specified.
.TP
.B \-sm[size]
Process files with size more than specified.
.TP
.B \-t
Test files after archiving.
.TP
.B \-ta[date]
Process files modified after [date] in YYYYMMDDHHMMSS format.
.TP
.B \-tb[date]
Process files modified before [date] in YYYYMMDDHHMMSS format.
.TP
.B \-tk
Keep original archive time.
.TP
.B \-tl
Set archive time to latest file.
.TP
.B \-tn[time]
Process files newer than [time].
.TP
.B \-to[time]
Process files older than [time].
.TP
.B \-ts[m,c,a][N]
Save or restore file time (modification, creation, access).
.TP
.B \-u
Update files.
.TP
.B \-v[size][k,b]
Create volumes with size=[size]*1000 [*1024, *1].
.TP
.B \-ver[n]
File version control.
.TP
.B \-vn
Use the old style volume naming scheme.
.TP
.B \-vp
Pause before each volume.
.TP
.B \-w[path]
Assign work directory.
.TP
.B \-x[file]
Exclude specified file.
.TP
.B \-x@
Read file names to exclude from stdin.
.TP
.B \-x@[list]
Exclude files listed in specified filelist.
.TP
.B \-y
Assume YES on all queries.
.TP
.B \-z[file]
Read archive comment from file.
.SH "SEE ALSO"
unrar(1)
.PP
For more information see _path_/rar.txt
.SH "AUTHOR"
This manual page was written for Fedora GNU/Linux by Kirill Rusinov
<[email protected]> according to "rar \-?" and UNRAR
manual page written by Petr Cech <[email protected]>.
.PP
It may be used by others.