1ARJ(1) Arj Software ARJ(1)
2
3
4
6 arj - Archiver for .arj files
7
9 arj command [-switch[-|+|option]] archive[.arj] [base directory] [!list
10 name|path name|wildcard name]
11
13 arj is a compression and file archiving utility. It was invented by
14 Robert K. Jung. ARJ stands for Archived by Robert Jung.
15
17 ac Add Chapter to chapter archive.
18
19 cc Convert archive to Chapter archive.
20
21 dc Delete last Chapter from archive.
22
23 a Add files to archive.
24
25 b execute Batch or dos command.
26
27 c Comment archive files.
28
29 d Delete files from archive.
30
31 e Extract files from archive.
32
33 f Freshen files in archive.
34
35 g Garble files in archive.
36
37 i check Integrity of the arj program.
38
39 j Join archives to archive
40
41 k remove obsolete bacKup files.
42
43 l List contents of archive.
44
45 m Move files to archive.
46
47 n reName files in archive.
48
49 o Order files in archive.
50
51 p Print files to standard output.
52
53 q recover damaged arj file.
54
55 r Remove paths from filenames.
56
57 s Sample files to screen with pause.
58
59 t Test integrity of archive.
60
61 u Update files to archive.
62
63 v Verbosely list contents of archive.
64
65 w Where are text strings in archive.
66
67 x eXtract files with full pathname.
68
69 y copY archive with new options.
70
72 c skip time-stamp Check
73
74 e Exclude paths from names
75
76 f Freshen existing files
77
78 g Garble with password
79
80 i with no progress Indicator
81
82 m with Method 0, 1, 2, 3, 4
83
84 n only New files (not exist)
85
86 r Recurse subdirectories
87
88 u Update files (new and newer)
89
90 v enable multiple Volumes
91
92 w assign Work directory
93
94 x eXclude selected files
95
96 y assume Yes on all queries
97
98 hk enable ARJ-PROTECT damage protection
99
101 - Disables switch char
102
103 + Inhibits ARJ_SW usage
104 +var: set environment variable
105
106 @ Set 1 token per response file line
107
108 ! Set list char (!)
109
110 & Set batch critical error handler
111
112 # Select files by number
113
114 $ Add/extract volume label
115 $A: add/extract label to drive A
116
117 a Allow any file Attribute
118 a1: any files, directories and UNIX special files
119
120 b Backup changed files
121 b1: Backup changed, reset archive bits
122 b2: only reset archive bits
123 b3: reset archive bit during restore
124 b4: do not restore bits, reset arc
125 b5: do not restore any file attributes
126
127 c Skip time-stamp Check
128
129 d Delete added files asks permission before deleting
130 d1: Delete without permission (same as arj m)
131 d2: Truncate instead of deleting
132
133 e Exclude paths from names
134 e1: Exclude base dir from names
135
136 f Freshen existing files
137 f1: Freshen with OLDER files
138 f2: Freshen with DIFFERENT files
139 f3: Freshen with CRC mismatched files
140
141 g Garble with password
142 gstew: garble with password stew
143 g?: prompt for password
144
145 i Show no progress Indicator
146 i1: show bar graph Indicator
147 i2: show percentage and bar graph
148 i3: total progress percentage
149 i4: total progress bar graph
150 i5: total percentage and bar graph
151 i6: total percentage and file graph
152
153 k Keep a .bak of arj archive
154
155 l Create List_name file
156 lnames.list: create names.list
157
158 m With Method 0, 1, 2, 3, 4
159 m0: store (no compression)
160 m1: good compression (default)
161 m2: less memory and compression
162 m3: FAST! less compression
163 m4: FASTEST! least compression
164
165 n Only New files (not exist)
166
167 o On or after YYYYMMDDHHMMSS
168 o: on today
169 o19901225: on/after 12/25/1990
170 ob: Before YYYYMMDDHHMMSS
171 ob: before today
172 ob19901225: before 12/25/1990
173 od: no older than N Days
174 od5: five or less days old
175 oa: After YYYYMMDDHHMMSS (last access)
176 oa: on today
177 oa19901225: after 12/25/1990
178 oab: Before YYYYMMDDHHMMSS (last access)
179 oab: before today
180 oab19901225: before 12/25/1990
181 oc: After YYYYMMDDHHMMSS (created)
182 oc: on today
183 oc19901225: after 12/25/1990
184 ocb: Before YYYYMMDDHHMMSS
185 ocb: before today
186 ocb19901225: before 12/25/1990
187
188 p Match using full Pathnames
189 p1: match Pathname with subdirs
190
191 q Query on each file
192
193 r Recurse subdirectories
194
195 s Set archive time-Stamp to newest
196 s1: save original time-Stamp
197 s2: set archive time-Stamp
198 s3: save both original time-Stamps
199
200 t Set file Type (default 0)
201 t0: set binary file type
202 t1: set C text file type
203 t1f: force C text file type
204 t1g: set C text with graphics
205
206 u Update files (new + newer)
207 u1: Update files (new + OLDER)
208 u2: Update files (new + different)
209 u3: Update files (new + CRC mismatch)
210
211 v Enable multiple Volumes
212 v360: build 362000 byte volumes
213 v50K: build 50000 byte volumes
214 va: auto-detect space available
215 vd/tmp/*: delete /tmp/*
216 ve: use alternate volume naming
217 vi: inhibit diskette change test
218 vr50K: reserve 50000 bytes of space on first volume
219 vs: provide command prompt
220 vscmd: execute cmd before each vol
221 vv: beep between volumes
222 vw: keep Whole files in volumes
223 vz: provide command with no echo
224 v360,v720,v1200,v1440: abbrevs Volume options may be in any order
225 except s and z which must be last
226
227 w Assign Work directory
228 w/tmp: use /tmp as work directory
229
230 x eXclude selected files
231 x*.sh: exclude *.sh files
232 x!names: exclude files in names multiple exclusions are allowed
233
234 y Assume Yes on all queries except diskette volume prompts
235 Use this switch for batch mode
236
237 z Supply archive comment file _ Convert filenames to lower case
238 zarc.cmt: use arc.cmt for comments
239 z/dev/null: use to strip comments
240
242 h# Append date string to name
243 h#1: append time string to name
244 h#2: append DHHMMSS to name (custom: h#{Y,M,D,N,h,m,s})
245 h#YYYY-MMDD: append YYYY-MMDD
246
247 h$ Try to use longnames (Win2000)
248
249 h2 Obsolete synonym for -2 group of options
250
251 ha Ignore readonly Attribute
252
253 hb Select by file attribute/type
254 a - archive bit set
255 b - archive bit clear
256 r - readonly
257 s - system
258 h - hidden
259 d - directory
260 n - normal file, not d,h,r,s,c,l
261 c - chapter label
262 l - volume label
263 f - abbrev for n,d,r,s,h
264 u - UNIX special files
265 w - win95 long filenames
266 hb: select all types
267 hbsh: select hidden, system only
268 hbd: select dirs only
269
270 hc Execute Command at arj start
271 hcclear: execute clear
272
273 he Skip test of security Envelope
274 he1: set error on security Envelope
275
276 hf Set short filenames only
277 hf1: set longnames in file comment or extract with w95lname.nnn
278 hf2: use long filenames in DOS
279 hf3: set longnames in file comment using shortname wildcards
280 hf4: set all files archived in Windows as Windows long filenames
281
282 hg Specify garble module filename
283 hgarjcrypt.so: set arjcrypt.so as name of garble module
284 hg!: specify use of 40 bit encryption
285
286 hi Detailed display in Index files
287
288 hk Build data protection record
289
290 hk Default amount of recovery data
291 hk1: more recovery data
292 hk9: maximum amount of recovery data
293 Disable ARJ-PROTECT when used with the "y" command
294
295 hl Return error for Listfile error
296
297 hm Increase file list capacity
298 hm!: redirect -hm temp file
299 hm! : move temp file to XMS mem
300 hm!/tmp : move temp file to /tmp
301
302 hn Specify non-existent filespec
303 hn####: set #### as filespec
304
305 ho Only extract files with matches
306 ho1: Only extract files without matches
307
308 hq Ignore open access error on adds
309 hq1: ignore open not found error on adds
310 hq2: ignore access and not found on adds
311
312 hr Try to ignore archive errors
313
314 hs Disable file Sharing
315
316 ht Set Target directory
317 ht/destdir
318
319 hu Allow Update of volume archives
320
321 hv Check for arj version
322
323 hw Scroll save search filename display
324 hw1: display only filenames with matches
325
326 hx Set default archive extensions
327 hx.arj.sdn
328
329 hy set arj32 to use ANSI codepage set arj to extract ANSI codepage
330 archive
331 hy1: force arj32 to use OEM codepage
332 hy2: force arj32 to use ANSI codepage
333
334 hz Create an ARJ-SECURITY envelope
335
336 j# Store only CRC and not the file
337 j#1: store only date, size, attributes
338 j#2: restore file attributes
339 j#3: restore file dates
340 j#4: restore file attributes and dates
341
342 j$ Do not process file DTA and DTC
343
344 ja Set P command to display ANSI
345 ja1: inhibit the display of comments
346
347 jb Set chapter backup processing
348 jb0: clear chapter archive status
349 jb*: select all chapter backup files
350
351 jc Exit after Count of files
352 jc5: exit after 5 files
353 jc nam1 nam2: exit after 2 files
354
355 jd Ensure free Disk space
356 e -jd50K: skip file if<50000 free
357 l -jd1000: set error if<1000 free
358
359 je Create self-extracting archive
360 je1: create SFXJR archive
361
362 jf Store/use Full specified path
363 jf1: store/use path minus drive
364
365 jg [OBSOLETE]
366 jg1: [OBSOLETE]
367
368 jh Set Huffman buffer size
369 jh65535: set to 65535 bytes (max)
370 jh2048: set to 2048 bytes (min)
371
372 ji Create Index file
373 jiindex.file: create index.file
374
375 jk Keep temp archive on error
376
377 jl Display only filespecs
378
379 jm Set Maximum compression mode
380 jm1: set faster Maximum compression
381
382 jn Restart volumes at fileName
383 jn/bin/test: restart at /bin/test
384 jn: get restart information from previously written index file
385
386 jo Query when updating archive file
387 jo: extract to unique Output names
388 jo1: extract to unique Output names keeping file extension
389
390 jp Pause after each screenful
391 jp50: pause, set page size to 50
392
393 jq Set string parameter
394 jqstring: set parameter to string
395
396 jr Recover broken archive files
397 jr1: Recover badly broken archive files
398
399 js Store archives by suffix (default is arj, arc, lzh, pak, rar,
400 zip, zoo, j, and uc2).
401 js.zoo: store only .zoo files
402
403 jt Test temporary archive by CRC
404 jt1: Test CRC and file contents
405 jt2: Test only added file contents
406 jt3: Test only file date-time and size
407
408 ju Translate UNIX style paths
409
410 jv Set Verbose display
411 jv1: set special verbose list mode
412
413 jw Set extract output filename
414 jwnew.file: output to new.file
415
416 jx Start at eXtended position
417 jx10000: start at position 10000
418
419 jy Suppress queries assuming Yes
420 a - skip append query
421 c - skip create directory query
422 d - skip delete files query
423 k - skip disk space available query
424 n - skip new filename prompt
425 o - skip overwrite file query
426 r - erase all type-ahead before query
427 s - skip scanned enough text query
428 v - skip proceed to next volume query
429 y - accept single character Y/N/A/Q
430 jycny: skip create, new name queries in single character
431 input mode
432
433 jz Supply file for file comment
434 jzfile.cmt: use file.cmt for comments
435 jz/dev/null: use to strip file comments
436
437 2a Serialize names on extraction
438
439 2b [UNIX] restrict to Block devices
440 2b or 2b.: current device only
441 2b-/usr: all except where /usr is located
442
443 2c [OS/2, NT] handle Crit. EAs only
444
445 2d arj/DOS compatibility mode
446 2d1: (OBSOLETE) comment compatibility
447
448 2e [OS/2, NT] filter Extended attrs
449 2e.*: pack/unpack system EAs only
450 2e.ICON?: pack/unpack icons only
451 2e: disable EAs handling
452
453 2f Disable comment serialization across multiple volumes
454
455 2h [UNIX] Disable hardlink handling
456 2h1: Extract hardlinks as symlinks
457
458 2k Skip century display in dates
459 2k1: use a non-ambiguous date display format
460
461 2l [OS/2, NT] treat .LONGNAME EAs as filenames when possible
462
463 2o [UNIX] store/restore file ownership
464 2o1: Store numeric UID/GID values 2o2: Same as -2o but saves
465 group as well
466
467 2p Specify process Priority class
468 OS/2, NT: 2p1...2p4
469 Linux, FreeBSD: 2p1...2p41
470
471 2r Revert directory Recursion order
472
473 2s [UNIX] preserve Symlink properties
474
475 2x [OS/2, NT]: eXclude extended attrs
476 2x.ICON?: ignore icons
477
479 Save path information in archive
480 Save long filenames
481 Save/restore extended attributes
482 Save/restore file date-time created and accessed in Win95 and OS/2
483 Save timestamps in the UNIX format under UNIX-like operating systems
484 Don't save drive and root in path information
485 Display comment ANSI sequences with built-in display handler
486 Prompt before overwriting output files
487 Use method 1 compression
488 Use binary mode
489 Use ! as list file symbol
490 The "ac" command is an abbreviation for "u -u2 -jb"
491 The "cc" command is an abbreviation for "y -jb"
492 The "dc" command is an abbreviation for "d -jb"
493
494 Under Win32, arj uses OEM codepage by default. The "-hy" option sets
495 arj to use the ANSI codepage which is the Windows graphical environment
496 default. arj/Win32 self-extracting archives should be built using the
497 "-hy" option.
498
499 To ensure compatibility with previous versions of arj, the "-2d" param‐
500 eter has to be specified when archiving under UNIX.
501
503 Yes yes
504
505 No no
506
507 Quit abort out of arj
508
509 Always always assume yes for current type of query
510
511 Skip always assume no for current type of query
512
513 Global always assume yes for all queries except diskette volume prompts
514
515 Command
516 prompt for and execute one system command
517
519 ARJ_SW = -jyry -jv -i1
520 ARJ_SW = /etc/arj.cfg
521
523 0 Success
524
525 1 Warning (specified file to add to archive not found, specified
526 file to list, extract, etc., not found, or answering negatively
527 to "OK to proceed to next volume..." prompt)
528
529 2 Fatal error
530
531 3 CRC error (header or file CRC error or bad password)
532
533 4 ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
534
535 5 Disk full or write error
536
537 6 Cannot open archive or file
538
539 7 Simple user error (bad parameters)
540
541 8 Not enough memory
542
543 9 Not an arj archive
544
545 10 [DOS] XMS memory error (read or write)
546
547 11 User control break
548
549 12 Too many chapters (over 250)
550
552 Add files minus directory structure:
553 arj a -e archive *
554
555 Add two files to archive:
556 arj a archive name1 name2
557
558 Add files to archive with verification:
559 arj a -jt archive *
560
561 Add files with maximum compression:
562 arj a -jm archive *
563
564 Add several directories of files:
565 arj a archive ... dir1 dir2 dir3
566
567 Add thousands of files to an archive:
568 arj a -hm1 -r archive *
569
570 Add a chapter to an archive:
571 arj ac archive /foo/dir/* -r
572
573 Comment archive header only:
574 arj c archive -zcmt.fil
575
576 Convert standard archive to chapter:
577 arj cc archive
578
579 Convert chapter archive to standard:
580 arj y archive -jb0
581
582 Delete the last chapter from an archive:
583 arj dc archive *
584
585 Strip archive comment only:
586 arj c archive -z/dev/null
587
588 Extract files from archive:
589 arj e archive
590
591 Extract maintaining directory structure:
592 arj x archive
593
594 Extract new and newer files without query:
595 arj e archive -u -y
596
597 Extract subdirectory from archive:
598 arj e archive subdir/* -p1
599
600 Extract files to directory:
601 arj x archive destdir/ *
602
603 Extract files to directory:
604 arj x archive * -htdestdir
605
606 Extract files to directory with space:
607 arj x archive "Some Dir/ "
608
609 Extract files to directory with space:
610 arj x archive "-htSome Dir"
611
612 Extract a Win95 archive to plain DOS:
613 arj x archive -hf2
614
615 List files in archive:
616 arj l archive
617
618 Move files to archive:
619 arj m archive *.tex
620
621 Move files from archive:
622 arj e -d archive *.tex
623
624 Recover files from a damaged archive:
625 arj x archive -jr
626
627 Test integrity of files in archive:
628 arj t archive
629
630 Test multiple arj archives:
631 arj t *.arj -hr
632
633 Add files to a multiple volume archive:
634 arj a -va /floppy/archive *
635
636 Create up to 999 archive volumes:
637 arj a -va /floppy/archive.001
638
639 Extract from a multiple volume archive:
640 arj x -v /floppy/archive
641
642 Create a multiple volume self-extractor:
643 arj a -va -je /floppy/archive *
644
645 Convert archive to self-extractor:
646 arj y -je1 archive
647
648 Backup dir /foo to dir /floppy:
649 arj a /floppy/backup /foo -a1 -b2 -r -vvas -w/foo -js -jt -hk
650
651 Restore backup on dir /floppy to dir /foo:
652 arj x /floppy/backup /foo -vv -y
653
655 If the first two characters of an arj comment are "))" in a self-
656 extractor, then the self-extractor will accept the appended line as its
657 command line.
658
659 ")) -o" will force the self-extractor to overwrite existing files.
660
662 rearj(1), unarj(1), arj-register(1).
663
665 This manual page was written by Ola Lundqvist <opal@debian.org> in pod
666 format, then converted by Guillem Jover <guillem@debian.org> to nroff
667 format.
668
669
670
6713.10 2004-10-18 ARJ(1)