1
.\" Hey, EMACS: -*- nroff -*-
2
.TH ARJ 1 2003-04-18 "3.10" "Arj Software"
3
.\" Please adjust this date whenever revising the manpage.
5
.\" Some roff macros, for reference:
6
.\" .nh disable hyphenation
7
.\" .hy enable hyphenation
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)
16
arj \- Archiver for .arj files
20
.RI [ -switch [ - | + | option ]]
22
.RI [ "base directory" ]
23
.RI [ "!list name" | "path name" | "wildcard name" ]
27
Add Chapter to chapter archive.
30
Convert archive to Chapter archive.
33
Delete last Chapter from archive.
39
execute Batch or dos command.
42
Comment archive files.
45
Delete files from archive.
48
Extract files from archive.
51
Freshen files in archive.
54
Garble files in archive.
57
check Integrity of the \fBarj\fP program.
60
Join archives to archive
63
remove obsolete bacKup files.
66
List contents of archive.
69
Move files to archive.
72
reName files in archive.
75
Order files in archive.
78
Print files to standard output.
81
recover damaged \fBarj\fP file.
84
Remove paths from filenames.
87
Sample files to screen with pause.
90
Test integrity of archive.
93
Update files to archive.
96
Verbosely list contents of archive.
99
Where are text strings in archive.
102
eXtract files with full pathname.
105
copY archive with new options.
109
skip time-stamp Check
112
Exclude paths from names
115
Freshen existing files
121
with no progress Indicator
124
with Method 0, 1, 2, 3, 4
127
only New files (not exist)
130
Recurse subdirectories
133
Update files (new and newer)
136
enable multiple Volumes
139
assign Work directory
142
eXclude selected files
145
assume Yes on all queries
148
enable ARJ-PROTECT damage protection
149
.SH DETAILED SWITCHES
155
Inhibits ARJ_SW usage
157
+var: set environment variable
161
Set 1 token per response file line
167
Set batch critical error handler
170
Select files by number
173
Add/extract volume label
175
$A: add/extract label to drive A
179
Allow any file Attribute
181
a1: any files, directories and UNIX special files
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
197
Skip time-stamp Check
200
Delete added files asks permission before deleting
203
d1: Delete without permission (same as \fBarj m\fP)
204
d2: Truncate instead of deleting
209
Exclude paths from names
211
e1: Exclude base dir from names
215
Freshen existing files
218
f1: Freshen with OLDER files
219
f2: Freshen with DIFFERENT files
220
f3: Freshen with CRC mismatched files
228
g\fIstew\fP: garble with password stew
229
g?: prompt for password
234
Show no progress Indicator
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
247
Keep a .bak of \fBarj\fP archive
250
Create List_name file
252
l\fInames.list\fP: create \fInames.list\fP
256
With Method 0, 1, 2, 3, 4
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
268
Only New files (not exist)
271
On or after YYYYMMDDHHMMSS
275
o19901225: on/after 12/25/1990
276
ob: Before YYYYMMDDHHMMSS
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)
283
oa19901225: after 12/25/1990
284
oab: Before YYYYMMDDHHMMSS (last access)
286
oab19901225: before 12/25/1990
287
oc: After YYYYMMDDHHMMSS (created)
289
oc19901225: after 12/25/1990
290
ocb: Before YYYYMMDDHHMMSS
292
ocb19901225: before 12/25/1990
297
Match using full Pathnames
299
p1: match Pathname with subdirs
306
Recurse subdirectories
309
Set archive time-Stamp to newest
312
s1: save original time-Stamp
313
s2: set archive time-Stamp
314
s3: save both original time-Stamps
319
Set file Type (default 0)
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
330
Update files (new + newer)
333
u1: Update files (new + OLDER)
334
u2: Update files (new + different)
335
u3: Update files (new + CRC mismatch)
340
Enable multiple Volumes
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
361
Assign Work directory
363
w\fI/tmp\fP: use \fI/tmp\fP as work directory
367
eXclude selected files
370
x\fI*.sh\fP: exclude \fI*.sh\fP files
371
x!\fInames\fP: exclude files in \fInames\fP multiple exclusions are allowed
376
Assume Yes on all queries except diskette volume prompts
377
Use this switch for batch mode
380
Supply archive comment file
382
Convert filenames to lower case
385
z\fIarc.cmt\fP: use \fIarc.cmt\fP for comments
386
z\fI/dev/null\fP: use to strip comments
392
Append date string to name
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
402
Try to use longnames (Win2000)
405
Obsolete synonym for -2 group of options
408
Ignore readonly Attribute
411
Select by file attribute/type
415
b - archive bit clear
420
n - normal file, not d,h,r,s,c,l
423
f - abbrev for n,d,r,s,h
424
u - UNIX special files
425
w - win95 long filenames
427
hbsh: select hidden, system only
428
hbd: select dirs only
433
Execute Command at \fBarj\fP start
435
hc\fBclear\fP: execute \fBclear\fP
439
Skip test of security Envelope
441
he1: set error on security Envelope
445
Set short filenames only
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
456
Specify garble module filename
459
hg\fIarjcrypt.so\fP: set \fIarjcrypt.so\fP as name of garble module
460
hg!: specify use of 40 bit encryption
465
Detailed display in Index files
468
Build data protection record
471
Default amount of recovery data
474
hk1: more recovery data
475
hk9: maximum amount of recovery data
476
Disable ARJ-PROTECT when used with the \fB"y"\fP command
481
Return error for Listfile error
484
Increase file list capacity
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
494
Specify non-existent filespec
496
hn\fB####\fP: set \fB####\fP as filespec
500
Only extract files with matches
502
ho1: Only extract files without matches
506
Ignore open access error on adds
509
hq1: ignore open not found error on adds
510
hq2: ignore access and not found on adds
515
Try to ignore archive errors
527
Allow Update of volume archives
530
Check for \fBarj\fP version
533
Scroll save search filename display
535
hw1: display only filenames with matches
539
Set default archive extensions
545
set \fBarj32\fP to use ANSI codepage
546
set \fBarj\fP to extract ANSI codepage archive
549
hy1: force \fBarj32\fP to use OEM codepage
550
hy2: force \fBarj32\fP to use ANSI codepage
555
Create an ARJ-SECURITY envelope
558
Store only CRC and not the file
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
569
Do not process file DTA and DTC
572
Set P command to display ANSI
574
ja1: inhibit the display of comments
578
Set chapter backup processing
581
jb0: clear chapter archive status
582
jb*: select all chapter backup files
587
Exit after Count of files
590
jc5: exit after 5 files
591
jc \fInam1 nam2\fP: exit after 2 files
596
Ensure free Disk space
599
e -jd\fI50K\fP: skip file if<\fI50000\fP free
600
l -jd\fI1000\fP: set error if<\fI1000\fP free
605
Create self-extracting archive
607
je1: create SFXJR archive
611
Store/use Full specified path
613
jf1: store/use path minus drive
623
Set Huffman buffer size
626
jh\fI65535\fP: set to \fI65535\fP bytes (max)
627
jh\fI2048\fP: set to \fI2048\fP bytes (min)
634
ji\fIindex.file\fP: create \fIindex.file\fP
638
Keep temp archive on error
641
Display only filespecs
644
Set Maximum compression mode
646
jm1: set faster Maximum compression
650
Restart volumes at fileName
653
jn\fI/bin/test\fP: restart at \fI/bin/test\fP
654
jn: get restart information from previously written index file
659
Query when updating archive file
662
jo: extract to unique Output names
663
jo1: extract to unique Output names keeping file extension
668
Pause after each screenful
670
jp\fI50\fP: pause, set page size to \fI50\fP
676
jq\fIstring\fP: set parameter to \fIstring\fP
680
Recover broken archive files
682
jr1: Recover badly broken archive files
686
Store archives by suffix (default is arj, arc, lzh, pak, rar, zip, zoo, j,
689
js\fI.zoo\fP: store only \fI.zoo\fP files
693
Test temporary archive by CRC
696
jt1: Test CRC and file contents
697
jt2: Test only added file contents
698
jt3: Test only file date-time and size
703
Translate UNIX style paths
708
jv1: set special verbose list mode
712
Set extract output filename
714
jw\fInew.file\fP: output to \fInew.file\fP
718
Start at eXtended position
720
jx\fI10000\fP: start at position 10000
724
Suppress queries assuming Yes
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
743
Supply file for file comment
746
jz\fIfile.cmt\fP: use \fIfile.cmt\fP for comments
747
jz\fI/dev/null\fP: use to strip file comments
752
Serialize names on extraction
755
[OS/2, NT] handle Crit. EAs only
758
\fBarj\fP/DOS compatibility mode
760
2d1: (OBSOLETE) comment compatibility
764
[OS/2, NT] filter Extended attrs
767
2e.*: pack/unpack system EAs only
768
2e.ICON?: pack/unpack icons only
769
2e: disable EAs handling
774
Disable comment serialization across multiple volumes
777
[UNIX] Disable hardlink handling
779
2h1: Extract hardlinks as symlinks
783
Skip century display in dates
785
2k1: use a non-ambigous date display format
789
[OS/2, NT] treat .LONGNAME EAs as filenames when possible
792
[UNIX] store/restore file ownership
794
2o1: Store numeric UID/GID values
795
2o2: Same as -2o but saves group as well
799
Specify process Priority class
803
Linux, FreeBSD: 2p1...2p41
808
Revert directory Recursion order
811
[UNIX] preserve Symlink properties
814
[OS/2, NT]: eXclude extended attrs
816
2x.ICON?: ignore icons
820
Save path information in archive
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
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
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
839
\fBarj\fP/Win32 self-extracting archives should be built using the \fB"-hy"\fP
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
853
abort out of \fBarj\fP
856
always assume yes for current type of query
859
always assume no for current type of query
862
always assume yes for all queries except diskette volume prompts
865
prompt for and execute one system command
867
\fBARJ_SW\fP = \fB-jyry -jv -i1\fP
869
\fBARJ_SW\fP = \fI/etc/arj.cfg\fP
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
884
CRC error (header or file CRC error or bad password)
887
ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
890
Disk full or write error
893
Cannot open archive or file
896
Simple user error (bad parameters)
902
Not an \fBarj\fP archive
905
[DOS] XMS memory error (read or write)
911
Too many chapters (over 250)
914
Add files minus directory structure:
915
\fBarj\fP a -e archive *
917
Add two files to archive:
918
\fBarj\fP a archive \fIname1 name2\fP
920
Add files to archive with verification:
921
\fBarj\fP a -jt archive *
923
Add files with maximum compression:
924
\fBarj\fP a -jm archive *
926
Add several directories of files:
927
\fBarj\fP a archive ... \fIdir1 dir2 dir3\fP
929
Add thousands of files to an archive:
930
\fBarj\fP a -hm1 -r archive *
932
Add a chapter to an archive:
933
\fBarj\fP ac archive \fI/foo/dir/*\fP -r
935
Comment archive header only:
936
\fBarj\fP c archive -z\fIcmt.fil\fP
938
Convert standard archive to chapter:
941
Convert chapter archive to standard:
942
\fBarj\fP y archive -jb0
944
Delete the last chapter from an archive:
945
\fBarj\fP dc archive *
947
Strip archive comment only:
948
\fBarj\fP c archive -z\fI/dev/null\fP
950
Extract files from archive:
953
Extract maintaining directory structure:
956
Extract new and newer files without query:
957
\fBarj\fP e archive -u -y
959
Extract subdirectory from archive:
960
\fBarj\fP e archive \fIsubdir/*\fP -p1
962
Extract files to directory:
963
\fBarj\fP x archive \fIdestdir/\fP *
965
Extract files to directory:
966
\fBarj\fP x archive * -htdestdir
968
Extract files to directory with space:
969
\fBarj\fP x archive "\fISome Dir/ \fP"
971
Extract files to directory with space:
972
\fBarj\fP x archive "-ht\fISome Dir\fP"
974
Extract a Win95 archive to plain DOS:
975
\fBarj\fP x archive -hf2
977
List files in archive:
980
Move files to archive:
981
\fBarj\fP m archive \fI*.tex\fP
983
Move files from archive:
984
\fBarj\fP e -d archive \fI*.tex\fP
986
Recover files from a damaged archive:
987
\fBarj\fP x archive -jr
989
Test integrity of files in archive:
992
Test multiple \fBarj\fP archives:
993
\fBarj\fP t \fI*.arj\fP -hr
995
Add files to a multiple volume archive:
996
\fBarj\fP a -va \fI/floppy/archive\fP *
998
Create up to 999 archive volumes:
999
\fBarj\fP a -va \fI/floppy/archive.001\fP
1001
Extract from a multiple volume archive:
1002
\fBarj\fP x -v \fI/floppy/archive\fP
1004
Create a multiple volume self-extractor:
1005
\fBarj\fP a -va -je \fI/floppy/archive\fP *
1007
Convert archive to self-extractor:
1008
\fBarj\fP y -je1 archive
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
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.
1021
will force the self-extractor to overwrite existing files.
1025
.BR arj-register (1).
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.