~ubuntu-branches/ubuntu/precise/arj/precise-security

« back to all changes in this revision

Viewing changes to resource/en/arj.1

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover
  • Date: 2004-06-27 08:07:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040627080709-1gkxm72ex66gkwe4
Tags: upstream-3.10.21
ImportĀ upstreamĀ versionĀ 3.10.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"                                      Hey, EMACS: -*- nroff -*-
 
2
.TH ARJ 1 2003-04-18 "3.10" "Arj Software"
 
3
.\" Please adjust this date whenever revising the manpage.
 
4
.\"
 
5
.\" Some roff macros, for reference:
 
6
.\" .nh        disable hyphenation
 
7
.\" .hy        enable hyphenation
 
8
.\" .ad l      left justify
 
9
.\" .ad b      justify to both left and right margins
 
10
.\" .nf        disable filling
 
11
.\" .fi        enable filling
 
12
.\" .br        insert line break
 
13
.\" .sp <n>    insert n+1 empty lines
 
14
.\" for manpage-specific macros, see man(7)
 
15
.SH NAME
 
16
arj \- Archiver for .arj files
 
17
.SH SYNOPSIS
 
18
.B arj
 
19
.I command
 
20
.RI [ -switch [ - | + | option ]]
 
21
.IR archive [ .arj ]
 
22
.RI [ "base directory" ]
 
23
.RI [ "!list name" | "path name" | "wildcard name" ]
 
24
.SH COMMANDS
 
25
.TP
 
26
.B ac
 
27
Add Chapter to chapter archive.
 
28
.TP
 
29
.B cc
 
30
Convert archive to Chapter archive.
 
31
.TP
 
32
.B dc
 
33
Delete last Chapter from archive.
 
34
.TP
 
35
.B a
 
36
Add files to archive.
 
37
.TP
 
38
.B b
 
39
execute Batch or dos command.
 
40
.TP
 
41
.B c
 
42
Comment archive files.
 
43
.TP
 
44
.B d
 
45
Delete files from archive.
 
46
.TP
 
47
.B e
 
48
Extract files from archive.
 
49
.TP
 
50
.B f
 
51
Freshen files in archive.
 
52
.TP
 
53
.B g
 
54
Garble files in archive.
 
55
.TP
 
56
.B i
 
57
check Integrity of the \fBarj\fP program.
 
58
.TP
 
59
.B j
 
60
Join archives to archive
 
61
.TP
 
62
.B k
 
63
remove obsolete bacKup files.
 
64
.TP
 
65
.B l
 
66
List contents of archive.
 
67
.TP
 
68
.B m
 
69
Move files to archive.
 
70
.TP
 
71
.B n
 
72
reName files in archive.
 
73
.TP
 
74
.B o
 
75
Order files in archive.
 
76
.TP
 
77
.B p
 
78
Print files to standard output.
 
79
.TP
 
80
.B q
 
81
recover damaged \fBarj\fP file.
 
82
.TP
 
83
.B r
 
84
Remove paths from filenames.
 
85
.TP
 
86
.B s
 
87
Sample files to screen with pause.
 
88
.TP
 
89
.B t
 
90
Test integrity of archive.
 
91
.TP
 
92
.B u
 
93
Update files to archive.
 
94
.TP
 
95
.B v
 
96
Verbosely list contents of archive.
 
97
.TP
 
98
.B w
 
99
Where are text strings in archive.
 
100
.TP
 
101
.B x
 
102
eXtract files with full pathname.
 
103
.TP
 
104
.B y
 
105
copY archive with new options.
 
106
.SH SWITCHES
 
107
.TP
 
108
.B c
 
109
skip time-stamp Check
 
110
.TP
 
111
.B e
 
112
Exclude paths from names
 
113
.TP
 
114
.B f
 
115
Freshen existing files
 
116
.TP
 
117
.B g
 
118
Garble with password
 
119
.TP
 
120
.B i
 
121
with no progress Indicator
 
122
.TP
 
123
.B m
 
124
with Method 0, 1, 2, 3, 4
 
125
.TP
 
126
.B n
 
127
only New files (not exist)
 
128
.TP
 
129
.B r
 
130
Recurse subdirectories
 
131
.TP
 
132
.B u
 
133
Update files (new and newer)
 
134
.TP
 
135
.B v
 
136
enable multiple Volumes
 
137
.TP
 
138
.B w
 
139
assign Work directory
 
140
.TP
 
141
.B x
 
142
eXclude selected files
 
143
.TP
 
144
.B y
 
145
assume Yes on all queries
 
146
.TP
 
147
.B hk
 
148
enable ARJ-PROTECT damage protection
 
149
.SH DETAILED SWITCHES
 
150
.TP
 
151
.B -
 
152
Disables switch char
 
153
.TP
 
154
.B +
 
155
Inhibits ARJ_SW usage
 
156
.RS
 
157
+var: set environment variable
 
158
.RE
 
159
.TP
 
160
.B @
 
161
Set 1 token per response file line
 
162
.TP
 
163
.B !
 
164
Set list char (!)
 
165
.TP
 
166
.B &
 
167
Set batch critical error handler
 
168
.TP
 
169
.B #
 
170
Select files by number
 
171
.TP
 
172
.B $
 
173
Add/extract volume label
 
174
.RS
 
175
$A: add/extract label to drive A
 
176
.RE
 
177
.TP
 
178
.B a
 
179
Allow any file Attribute
 
180
.RS
 
181
a1: any files, directories and UNIX special files
 
182
.RE
 
183
.TP
 
184
.B b
 
185
Backup changed files
 
186
.nf
 
187
.RS
 
188
b1: Backup changed, reset archive bits
 
189
b2: only reset archive bits
 
190
b3: reset archive bit during restore
 
191
b4: do not restore bits, reset arc
 
192
b5: do not restore any file attributes
 
193
.RE
 
194
.fi
 
195
.TP
 
196
.B c
 
197
Skip time-stamp Check
 
198
.TP
 
199
.B d
 
200
Delete added files asks permission before deleting
 
201
.nf
 
202
.RS
 
203
d1: Delete without permission (same as \fBarj m\fP)
 
204
d2: Truncate instead of deleting
 
205
.RE
 
206
.fi
 
207
.TP
 
208
.B e
 
209
Exclude paths from names
 
210
.RS
 
211
e1: Exclude base dir from names
 
212
.RE
 
213
.TP
 
214
.B f
 
215
Freshen existing files
 
216
.nf
 
217
.RS
 
218
f1: Freshen with OLDER files
 
219
f2: Freshen with DIFFERENT files
 
220
f3: Freshen with CRC mismatched files
 
221
.RE
 
222
.fi
 
223
.TP
 
224
.B g
 
225
Garble with password
 
226
.nf
 
227
.RS
 
228
g\fIstew\fP: garble with password stew
 
229
g?: prompt for password
 
230
.RE
 
231
.fi
 
232
.TP
 
233
.B i
 
234
Show no progress Indicator
 
235
.nf
 
236
.RS
 
237
i1: show bar graph Indicator
 
238
i2: show percentage and bar graph
 
239
i3: total progress percentage
 
240
i4: total progress bar graph
 
241
i5: total percentage and bar graph
 
242
i6: total percentage and file graph
 
243
.RE
 
244
.fi
 
245
.TP
 
246
.B k
 
247
Keep a .bak of \fBarj\fP archive
 
248
.TP
 
249
.B l
 
250
Create List_name file
 
251
.RS
 
252
l\fInames.list\fP: create \fInames.list\fP
 
253
.RE
 
254
.TP
 
255
.B m
 
256
With Method 0, 1, 2, 3, 4
 
257
.nf
 
258
.RS
 
259
m0: store (no compression)
 
260
m1: good compression (default)
 
261
m2: less memory and compression
 
262
m3: FAST! less compression
 
263
m4: FASTEST! least compression
 
264
.RE
 
265
.fi
 
266
.TP
 
267
.B n
 
268
Only New files (not exist)
 
269
.TP
 
270
.B o
 
271
On or after YYYYMMDDHHMMSS
 
272
.nf
 
273
.RS
 
274
o:       on today
 
275
o19901225: on/after 12/25/1990
 
276
ob: Before YYYYMMDDHHMMSS
 
277
ob:       before today
 
278
ob19901225: before 12/25/1990
 
279
od: no older than N Days
 
280
od5: five or less days old
 
281
oa: After YYYYMMDDHHMMSS (last access)
 
282
oa:       on today
 
283
oa19901225: after 12/25/1990
 
284
oab: Before YYYYMMDDHHMMSS (last access)
 
285
oab:      before today
 
286
oab19901225: before 12/25/1990
 
287
oc: After YYYYMMDDHHMMSS (created)
 
288
oc:       on today
 
289
oc19901225: after 12/25/1990
 
290
ocb: Before YYYYMMDDHHMMSS
 
291
ocb:      before today
 
292
ocb19901225: before 12/25/1990
 
293
.RE
 
294
.fi
 
295
.TP
 
296
.B p
 
297
Match using full Pathnames
 
298
.RS
 
299
p1: match Pathname with subdirs
 
300
.RE
 
301
.TP
 
302
.B q
 
303
Query on each file
 
304
.TP
 
305
.B r
 
306
Recurse subdirectories
 
307
.TP
 
308
.B s
 
309
Set archive time-Stamp to newest
 
310
.nf
 
311
.RS
 
312
s1: save original time-Stamp
 
313
s2: set archive time-Stamp
 
314
s3: save both original time-Stamps
 
315
.RE
 
316
.fi
 
317
.TP
 
318
.B t
 
319
Set file Type (default 0)
 
320
.nf
 
321
.RS
 
322
t0: set binary file type
 
323
t1: set C text file type
 
324
t1f: force C text file type
 
325
t1g: set C text with graphics
 
326
.RE
 
327
.fi
 
328
.TP
 
329
.B u
 
330
Update files (new + newer)
 
331
.nf
 
332
.RS
 
333
u1: Update files (new + OLDER)
 
334
u2: Update files (new + different)
 
335
u3: Update files (new + CRC mismatch)
 
336
.RE
 
337
.fi
 
338
.TP
 
339
.B v
 
340
Enable multiple Volumes
 
341
.nf
 
342
.RS
 
343
v360: build 362000 byte volumes
 
344
v50K: build 50000 byte volumes
 
345
va: auto-detect space available
 
346
vd\fI/tmp/*\fP: delete \fI/tmp/*\fP
 
347
ve: use alternate volume naming
 
348
vi: inhibit diskette change test
 
349
vr50K: reserve 50000 bytes of space on first volume
 
350
vs: provide command prompt
 
351
vs\fBcmd\fP: execute \fBcmd\fP before each vol
 
352
vv: beep between volumes
 
353
vw: keep Whole files in volumes
 
354
vz: provide command with no echo
 
355
v360,v720,v1200,v1440: abbrevs Volume options may be in any order
 
356
       except s and z which must be last
 
357
.RE
 
358
.fi
 
359
.TP
 
360
.B w
 
361
Assign Work directory
 
362
.RS
 
363
w\fI/tmp\fP: use \fI/tmp\fP as work directory
 
364
.RE
 
365
.TP
 
366
.B x
 
367
eXclude selected files
 
368
.nf
 
369
.RS
 
370
x\fI*.sh\fP: exclude \fI*.sh\fP files
 
371
x!\fInames\fP: exclude files in \fInames\fP multiple exclusions are allowed
 
372
.RE
 
373
.fi
 
374
.TP
 
375
.B y
 
376
Assume Yes on all queries except diskette volume prompts
 
377
    Use this switch for batch mode
 
378
.TP
 
379
.B z
 
380
Supply archive comment file
 
381
.B _
 
382
Convert filenames to lower case
 
383
.nf
 
384
.RS
 
385
z\fIarc.cmt\fP: use \fIarc.cmt\fP for comments
 
386
z\fI/dev/null\fP: use to strip comments
 
387
.RE
 
388
.fi
 
389
.SH SHIFTED SWITCHES
 
390
.TP
 
391
.B h#
 
392
Append date string to name
 
393
.nf
 
394
.RS
 
395
h#1: append time string to name
 
396
h#2: append DHHMMSS to name (custom: h#{Y,M,D,N,h,m,s})
 
397
h#YYYY-MMDD: append YYYY-MMDD
 
398
.RE
 
399
.fi
 
400
.TP
 
401
.B h$
 
402
Try to use longnames (Win2000)
 
403
.TP
 
404
.B h2
 
405
Obsolete synonym for -2 group of options
 
406
.TP
 
407
.B ha
 
408
Ignore readonly Attribute
 
409
.TP
 
410
.B hb
 
411
Select by file attribute/type
 
412
.nf
 
413
.RS
 
414
a - archive bit set
 
415
b - archive bit clear
 
416
r - readonly
 
417
s - system
 
418
h - hidden
 
419
d - directory
 
420
n - normal file, not d,h,r,s,c,l
 
421
c - chapter label
 
422
l - volume label
 
423
f - abbrev for n,d,r,s,h
 
424
u - UNIX special files
 
425
w - win95 long filenames
 
426
hb: select all types
 
427
hbsh: select hidden, system only
 
428
hbd: select dirs only
 
429
.RE
 
430
.fi
 
431
.TP
 
432
.B hc
 
433
Execute Command at \fBarj\fP start
 
434
.RS
 
435
hc\fBclear\fP: execute \fBclear\fP
 
436
.RE
 
437
.TP
 
438
.B he
 
439
Skip test of security Envelope
 
440
.RS
 
441
he1: set error on security Envelope
 
442
.RE
 
443
.TP
 
444
.B hf
 
445
Set short filenames only
 
446
.nf
 
447
.RS
 
448
hf1: set longnames in file comment or extract with \fIw95lname.nnn\fP
 
449
hf2: use long filenames in DOS
 
450
hf3: set longnames in file comment using shortname wildcards
 
451
hf4: set all files archived in Windows as Windows long filenames
 
452
.RE
 
453
.fi
 
454
.TP
 
455
.B hg
 
456
Specify garble module filename
 
457
.nf
 
458
.RS
 
459
hg\fIarjcrypt.so\fP: set \fIarjcrypt.so\fP as name of garble module
 
460
hg!: specify use of 40 bit encryption
 
461
.RE
 
462
.fi
 
463
.TP
 
464
.B hi
 
465
Detailed display in Index files
 
466
.TP
 
467
.B hk
 
468
Build data protection record
 
469
.TP
 
470
.B hk
 
471
Default amount of recovery data
 
472
.nf
 
473
.RS
 
474
hk1: more recovery data
 
475
hk9: maximum amount of recovery data
 
476
     Disable ARJ-PROTECT when used with the \fB"y"\fP command
 
477
.RE
 
478
.fi
 
479
.TP
 
480
.B hl
 
481
Return error for Listfile error
 
482
.TP
 
483
.B hm
 
484
Increase file list capacity
 
485
.nf
 
486
.RS
 
487
hm!: redirect -hm temp file
 
488
hm! : move temp file to XMS mem
 
489
hm!\fI/tmp\fP : move temp file to \fI/tmp\fP
 
490
.RE
 
491
.fi
 
492
.TP
 
493
.B hn
 
494
Specify non-existent filespec
 
495
.RS
 
496
hn\fB####\fP: set \fB####\fP as filespec
 
497
.RE
 
498
.TP
 
499
.B ho
 
500
Only extract files with matches
 
501
.RS
 
502
ho1: Only extract files without matches
 
503
.RE
 
504
.TP
 
505
.B hq
 
506
Ignore open access error on adds
 
507
.nf
 
508
.RS
 
509
hq1: ignore open not found error on adds
 
510
hq2: ignore access and not found on adds
 
511
.RE
 
512
.fi
 
513
.TP
 
514
.B hr
 
515
Try to ignore archive errors
 
516
.TP
 
517
.B hs
 
518
Disable file Sharing
 
519
.TP
 
520
.B ht
 
521
Set Target directory
 
522
.RS
 
523
ht\fI/destdir\fP
 
524
.RE
 
525
.TP
 
526
.B hu
 
527
Allow Update of volume archives
 
528
.TP
 
529
.B hv
 
530
Check for \fBarj\fP version
 
531
.TP
 
532
.B hw
 
533
Scroll save search filename display
 
534
.RS
 
535
hw1: display only filenames with matches
 
536
.RE
 
537
.TP
 
538
.B hx
 
539
Set default archive extensions
 
540
.RS
 
541
hx\fI.arj.sdn\fP
 
542
.RE
 
543
.TP
 
544
.B hy
 
545
set \fBarj32\fP to use ANSI codepage
 
546
set \fBarj\fP to extract ANSI codepage archive
 
547
.nf
 
548
.RS
 
549
hy1: force \fBarj32\fP to use OEM codepage
 
550
hy2: force \fBarj32\fP to use ANSI codepage
 
551
.RE
 
552
.fi
 
553
.TP
 
554
.B hz
 
555
Create an ARJ-SECURITY envelope
 
556
.TP
 
557
.B j#
 
558
Store only CRC and not the file
 
559
.nf
 
560
.RS
 
561
j#1: store only date, size, attributes
 
562
j#2: restore file attributes
 
563
j#3: restore file dates
 
564
j#4: restore file attributes and dates
 
565
.RE
 
566
.fi
 
567
.TP
 
568
.B j$
 
569
Do not process file DTA and DTC
 
570
.TP
 
571
.B ja
 
572
Set P command to display ANSI
 
573
.RS
 
574
ja1: inhibit the display of comments
 
575
.RE
 
576
.TP
 
577
.B jb
 
578
Set chapter backup processing
 
579
.nf
 
580
.RS
 
581
jb0: clear chapter archive status
 
582
jb*: select all chapter backup files
 
583
.RE
 
584
.fi
 
585
.TP
 
586
.B jc
 
587
Exit after Count of files
 
588
.nf
 
589
.RS
 
590
jc5: exit after 5 files
 
591
jc \fInam1 nam2\fP: exit after 2 files
 
592
.RE
 
593
.fi
 
594
.TP
 
595
.B jd
 
596
Ensure free Disk space
 
597
.nf
 
598
.RS
 
599
e -jd\fI50K\fP: skip file if<\fI50000\fP free
 
600
l -jd\fI1000\fP: set error if<\fI1000\fP free
 
601
.RE
 
602
.fi
 
603
.TP
 
604
.B je
 
605
Create self-extracting archive
 
606
.RS
 
607
je1: create SFXJR archive
 
608
.RE
 
609
.TP
 
610
.B jf
 
611
Store/use Full specified path
 
612
.RS
 
613
jf1: store/use path minus drive
 
614
.RE
 
615
.TP
 
616
.B jg
 
617
[OBSOLETE]
 
618
.RS
 
619
jg1: [OBSOLETE]
 
620
.RE
 
621
.TP
 
622
.B jh
 
623
Set Huffman buffer size
 
624
.nf
 
625
.RS
 
626
jh\fI65535\fP: set to \fI65535\fP bytes (max)
 
627
jh\fI2048\fP: set to \fI2048\fP bytes (min)
 
628
.RE
 
629
.fi
 
630
.TP
 
631
.B ji
 
632
Create Index file
 
633
.RS
 
634
ji\fIindex.file\fP: create \fIindex.file\fP
 
635
.RE
 
636
.TP
 
637
.B jk
 
638
Keep temp archive on error
 
639
.TP
 
640
.B jl
 
641
Display only filespecs
 
642
.TP
 
643
.B jm
 
644
Set Maximum compression mode
 
645
.RS
 
646
jm1: set faster Maximum compression
 
647
.RE
 
648
.TP
 
649
.B jn
 
650
Restart volumes at fileName
 
651
.nf
 
652
.RS
 
653
jn\fI/bin/test\fP: restart at \fI/bin/test\fP
 
654
jn: get restart information from previously written index file
 
655
.RE
 
656
.fi
 
657
.TP
 
658
.B jo
 
659
Query when updating archive file
 
660
.nf
 
661
.RS
 
662
jo: extract to unique Output names
 
663
jo1: extract to unique Output names keeping file extension
 
664
.RE
 
665
.fi
 
666
.TP
 
667
.B jp
 
668
Pause after each screenful
 
669
.RS
 
670
jp\fI50\fP: pause, set page size to \fI50\fP
 
671
.RE
 
672
.TP
 
673
.B jq
 
674
Set string parameter
 
675
.RS
 
676
jq\fIstring\fP: set parameter to \fIstring\fP
 
677
.RE
 
678
.TP
 
679
.B jr
 
680
Recover broken archive files
 
681
.RS
 
682
jr1: Recover badly broken archive files
 
683
.RE
 
684
.TP
 
685
.B js
 
686
Store archives by suffix (default is arj, arc, lzh, pak, rar, zip, zoo, j,
 
687
and uc2).
 
688
.RS
 
689
js\fI.zoo\fP: store only \fI.zoo\fP files
 
690
.RE
 
691
.TP
 
692
.B jt
 
693
Test temporary archive by CRC
 
694
.nf
 
695
.RS
 
696
jt1: Test CRC and file contents
 
697
jt2: Test only added file contents
 
698
jt3: Test only file date-time and size
 
699
.RE
 
700
.fi
 
701
.TP
 
702
.B ju
 
703
Translate UNIX style paths
 
704
.TP
 
705
.B jv
 
706
Set Verbose display
 
707
.RS
 
708
jv1: set special verbose list mode
 
709
.RE
 
710
.TP
 
711
.B jw
 
712
Set extract output filename
 
713
.RS
 
714
jw\fInew.file\fP: output to \fInew.file\fP
 
715
.RE
 
716
.TP
 
717
.B jx
 
718
Start at eXtended position
 
719
.RS
 
720
jx\fI10000\fP: start at position 10000
 
721
.RE
 
722
.TP
 
723
.B jy
 
724
Suppress queries assuming Yes
 
725
.nf
 
726
.RS
 
727
a - skip append query
 
728
c - skip create directory query
 
729
d - skip delete files query
 
730
k - skip disk space available query
 
731
n - skip new filename prompt
 
732
o - skip overwrite file query
 
733
r - erase all type-ahead before query
 
734
s - skip scanned enough text query
 
735
v - skip proceed to next volume query
 
736
y - accept single character Y/N/A/Q
 
737
jycny: skip create, new name queries in single character
 
738
        input mode
 
739
.RE
 
740
.fi
 
741
.TP
 
742
.B jz
 
743
Supply file for file comment
 
744
.nf
 
745
.RS
 
746
jz\fIfile.cmt\fP: use \fIfile.cmt\fP for comments
 
747
jz\fI/dev/null\fP: use to strip file comments
 
748
.RE
 
749
.fi
 
750
.TP
 
751
.B 2a
 
752
Serialize names on extraction
 
753
.TP
 
754
.B 2c
 
755
[OS/2, NT] handle Crit. EAs only
 
756
.TP
 
757
.B 2d
 
758
\fBarj\fP/DOS compatibility mode
 
759
.RS
 
760
2d1: (OBSOLETE) comment compatibility
 
761
.RE
 
762
.TP
 
763
.B 2e
 
764
[OS/2, NT] filter Extended attrs
 
765
.nf
 
766
.RS
 
767
2e.*: pack/unpack system EAs only
 
768
2e.ICON?: pack/unpack icons only
 
769
2e: disable EAs handling
 
770
.RE
 
771
.fi
 
772
.TP
 
773
.B 2f
 
774
Disable comment serialization across multiple volumes
 
775
.TP
 
776
.B 2h
 
777
[UNIX] Disable hardlink handling
 
778
.RS
 
779
2h1: Extract hardlinks as symlinks
 
780
.RE
 
781
.TP
 
782
.B 2k
 
783
Skip century display in dates
 
784
.RS
 
785
2k1: use a non-ambigous date display format
 
786
.RE
 
787
.TP
 
788
.B 2l
 
789
[OS/2, NT] treat .LONGNAME EAs as filenames when possible
 
790
.TP
 
791
.B 2o
 
792
[UNIX] store/restore file ownership
 
793
.RS
 
794
2o1: Store numeric UID/GID values
 
795
2o2: Same as -2o but saves group as well
 
796
.RE
 
797
.TP
 
798
.B 2p
 
799
Specify process Priority class
 
800
.nf
 
801
.RS
 
802
OS/2, NT: 2p1...2p4
 
803
Linux, FreeBSD: 2p1...2p41
 
804
.RE
 
805
.fi
 
806
.TP
 
807
.B 2r
 
808
Revert directory Recursion order
 
809
.TP
 
810
.B 2s
 
811
[UNIX] preserve Symlink properties
 
812
.TP
 
813
.B 2x
 
814
[OS/2, NT]: eXclude extended attrs
 
815
.RS
 
816
2x.ICON?: ignore icons
 
817
.RE
 
818
.SH DEFAULTS
 
819
.nf
 
820
Save path information in archive
 
821
Save long filenames
 
822
Save/restore extended attributes
 
823
Save/restore file date-time created and accessed in Win95 and OS/2
 
824
Save timestamps in the UNIX format under UNIX-like operating systems
 
825
Don't save drive and root in path information
 
826
Display comment ANSI sequences with built-in display handler
 
827
Prompt before overwriting output files
 
828
Use method 1 compression
 
829
Use binary mode
 
830
Use ! as list file symbol
 
831
The \fB"ac"\fP command is an abbreviation for \fB"u -u2 -jb"\fP
 
832
The \fB"cc"\fP command is an abbreviation for \fB"y -jb"\fP
 
833
The \fB"dc"\fP command is an abbreviation for \fB"d -jb"\fP
 
834
.fi
 
835
.PP
 
836
Under Win32, \fBarj\fP uses OEM codepage by default.  The \fB"-hy"\fP option
 
837
sets \fBarj\fP to use the ANSI codepage which is the Windows graphical environment
 
838
default.
 
839
\fBarj\fP/Win32 self-extracting archives should be built using the \fB"-hy"\fP
 
840
option.
 
841
.PP
 
842
To ensure compatibility with previous versions of \fBarj\fP, the \fB"-2d"\fP
 
843
parameter has to be specified when archiving under UNIX.
 
844
.SH USER PROMPT RESPONSES
 
845
.TP
 
846
.B Yes
 
847
yes
 
848
.TP
 
849
.B No
 
850
no
 
851
.TP
 
852
.B Quit
 
853
abort out of \fBarj\fP
 
854
.TP
 
855
.B Always
 
856
always assume yes for current type of query
 
857
.TP
 
858
.B Skip
 
859
always assume no for current type of query
 
860
.TP
 
861
.B Global
 
862
always assume yes for all queries except diskette volume prompts
 
863
.TP
 
864
.B Command
 
865
prompt for and execute one system command
 
866
.SH ENVIRONMENT
 
867
\fBARJ_SW\fP = \fB-jyry -jv -i1\fP
 
868
.br
 
869
\fBARJ_SW\fP = \fI/etc/arj.cfg\fP
 
870
.SH EXIT STATUS
 
871
.TP
 
872
.B 0
 
873
Success
 
874
.TP
 
875
.B 1
 
876
Warning (specified file to add to archive not found, specified file to list,
 
877
extract, etc., not found, or answering negatively to "OK to proceed to next
 
878
volume..." prompt)
 
879
.TP
 
880
.B 2
 
881
Fatal error
 
882
.TP
 
883
.B 3
 
884
CRC error (header or file CRC error or bad password)
 
885
.TP
 
886
.B 4
 
887
ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
 
888
.TP
 
889
.B 5
 
890
Disk full or write error
 
891
.TP
 
892
.B 6
 
893
Cannot open archive or file
 
894
.TP
 
895
.B 7
 
896
Simple user error (bad parameters)
 
897
.TP
 
898
.B 8
 
899
Not enough memory
 
900
.TP
 
901
.B 9
 
902
Not an \fBarj\fP archive
 
903
.TP
 
904
.B 10
 
905
[DOS] XMS memory error (read or write)
 
906
.TP
 
907
.B 11
 
908
User control break
 
909
.TP
 
910
.B 12
 
911
Too many chapters (over 250)
 
912
.SH EXAMPLES
 
913
.TP
 
914
Add files minus directory structure:
 
915
\fBarj\fP a -e archive *
 
916
.TP
 
917
Add two files to archive:
 
918
\fBarj\fP a archive \fIname1 name2\fP
 
919
.TP
 
920
Add files to archive with verification:
 
921
\fBarj\fP a -jt archive *
 
922
.TP
 
923
Add files with maximum compression:
 
924
\fBarj\fP a -jm archive *
 
925
.TP
 
926
Add several directories of files:
 
927
\fBarj\fP a archive ... \fIdir1 dir2 dir3\fP
 
928
.TP
 
929
Add thousands of files to an archive:
 
930
\fBarj\fP a -hm1 -r archive *
 
931
.TP
 
932
Add a chapter to an archive:
 
933
\fBarj\fP ac archive \fI/foo/dir/*\fP -r
 
934
.TP
 
935
Comment archive header only:
 
936
\fBarj\fP c archive -z\fIcmt.fil\fP
 
937
.TP
 
938
Convert standard archive to chapter:
 
939
\fBarj\fP cc archive
 
940
.TP
 
941
Convert chapter archive to standard:
 
942
\fBarj\fP y archive -jb0
 
943
.TP
 
944
Delete the last chapter from an archive:
 
945
\fBarj\fP dc archive *
 
946
.TP
 
947
Strip archive comment only:
 
948
\fBarj\fP c archive -z\fI/dev/null\fP
 
949
.TP
 
950
Extract files from archive:
 
951
\fBarj\fP e archive
 
952
.TP
 
953
Extract maintaining directory structure:
 
954
\fBarj\fP x archive
 
955
.TP
 
956
Extract new and newer files without query:
 
957
\fBarj\fP e archive -u -y
 
958
.TP
 
959
Extract subdirectory from archive:
 
960
\fBarj\fP e archive \fIsubdir/*\fP -p1
 
961
.TP
 
962
Extract files to directory:
 
963
\fBarj\fP x archive \fIdestdir/\fP *
 
964
.TP
 
965
Extract files to directory:
 
966
\fBarj\fP x archive * -htdestdir
 
967
.TP
 
968
Extract files to directory with space:
 
969
\fBarj\fP x archive "\fISome Dir/ \fP"
 
970
.TP
 
971
Extract files to directory with space:
 
972
\fBarj\fP x archive "-ht\fISome Dir\fP"
 
973
.TP
 
974
Extract a Win95 archive to plain DOS:
 
975
\fBarj\fP x archive -hf2
 
976
.TP
 
977
List files in archive:
 
978
\fBarj\fP l archive
 
979
.TP
 
980
Move files to archive:
 
981
\fBarj\fP m archive \fI*.tex\fP
 
982
.TP
 
983
Move files from archive:
 
984
\fBarj\fP e -d archive \fI*.tex\fP
 
985
.TP
 
986
Recover files from a damaged archive:
 
987
\fBarj\fP x archive -jr
 
988
.TP
 
989
Test integrity of files in archive:
 
990
\fBarj\fP t archive
 
991
.TP
 
992
Test multiple \fBarj\fP archives:
 
993
\fBarj\fP t \fI*.arj\fP -hr
 
994
.TP
 
995
Add files to a multiple volume archive:
 
996
\fBarj\fP a -va \fI/floppy/archive\fP *
 
997
.TP
 
998
Create up to 999 archive volumes:
 
999
\fBarj\fP a -va \fI/floppy/archive.001\fP
 
1000
.TP
 
1001
Extract from a multiple volume archive:
 
1002
\fBarj\fP x -v \fI/floppy/archive\fP
 
1003
.TP
 
1004
Create a multiple volume self-extractor:
 
1005
\fBarj\fP a -va -je \fI/floppy/archive\fP *
 
1006
.TP
 
1007
Convert archive to self-extractor:
 
1008
\fBarj\fP y -je1 archive
 
1009
.TP
 
1010
Backup dir \fI/foo\fP to dir \fI/floppy\fP:
 
1011
\fBarj\fP a \fI/floppy/backup\fP \fI/foo\fP -a1 -b2 -r -vvas -w\fI/foo\fP -js -jt -hk
 
1012
.TP
 
1013
Restore backup on dir \fI/floppy\fP to dir \fI/foo\fP:
 
1014
\fBarj\fP x \fI/floppy/backup\fP \fI/foo\fP -vv -y
 
1015
.SH SELF-EXTRACTOR ARCHIVES
 
1016
If the first two characters of an \fBarj\fP comment are "\fB))\fP" in a
 
1017
self-extractor, then the self-extractor will accept the appended line
 
1018
as its command line.
 
1019
.PP
 
1020
"\fB)) -o\fP"
 
1021
will force the self-extractor to overwrite existing files.
 
1022
.SH SEE ALSO
 
1023
.BR rearj (1),
 
1024
.BR unarj (1),
 
1025
.BR arj-register (1).
 
1026
.SH AUTHOR
 
1027
This manual page was written by Ola Lundqvist <opal@debian.org> in pod format,
 
1028
then converted by Guillem Jover <guillem@debian.org> to nroff format.