0
Success
Archiver for .arj files
arj command
[-switch
[{- | + | option}]]
archive
[.arj]
[base
directory]
[{!list
name | path
name | wildcard
name}]
|
Add Chapter to chapter archive. |
|---|---|
|
Convert archive to Chapter archive. |
|
Delete last Chapter from archive. |
|
Add files to archive. |
|
execute Batch or dos command. |
|
Comment archive files. |
|
Delete files from archive. |
|
Extract files from archive. |
|
Freshen files in archive. |
|
Garble files in archive. |
|
check Integrity of the |
|
Join archives to archive |
|
remove obsolete bacKup files. |
|
List contents of archive. |
|
Move files to archive. |
|
reName files in archive. |
|
Order files in archive. |
|
Print files to standard output. |
|
recover damaged |
|
Remove paths from filenames. |
|
Sample files to screen with pause. |
|
Test integrity of archive. |
|
Update files to archive. |
|
Verbosely list contents of archive. |
|
Where are text strings in archive. |
|
eXtract files with full pathname. |
|
copY archive with new options. |
|
skip time-stamp Check |
|---|---|
|
Exclude paths from names |
|
Freshen existing files |
|
Garble with password |
|
with no progress Indicator |
|
with Method 0, 1, 2, 3, 4 |
|
only New files (not exist) |
|
Recurse subdirectories |
|
Update files (new and newer) |
|
enable multiple Volumes |
|
assign Work directory |
|
eXclude selected files |
|
assume Yes on all queries |
|
enable ARJ-PROTECT damage protection |
-Disables switch char
Inhibits ARJ_SW usage
+var: set environment variable
Set 1 token per response file line
Set list char (!)
Set batch critical error handler
Select files by number
Add/extract volume label
$A: add/extract label to drive A
aAllow any file Attribute
a1: any files, directories and UNIX special files
bBackup changed files
b1: Backup changed, reset archive bits b2: only reset archive bits b3: reset archive bit during restore b4: do not restore bits, reset arc b5: do not restore any file attributes
cSkip time-stamp Check
dDelete added files asks permission before deleting
d1: Delete without permission (same as arj m) d2: Truncate instead of deleting
eExclude paths from names
e1: Exclude base dir from names
fFreshen existing files
f1: Freshen with OLDER files f2: Freshen with DIFFERENT files f3: Freshen with CRC mismatched files
gGarble with password
gstew: garble with password stew g?: prompt for password
iShow no progress Indicator
i1: show bar graph Indicator i2: show percentage and bar graph i3: total progress percentage i4: total progress bar graph i5: total percentage and bar graph i6: total percentage and file graph
kKeep a .bak of arj archive
lCreate List_name file
lnames.list: create names.list
mWith Method 0, 1, 2, 3, 4
m0: store (no compression) m1: good compression (default) m2: less memory and compression m3: FAST! less compression m4: FASTEST! least compression
nOnly New files (not exist)
oOn or after YYYYMMDDHHMMSS
o: on today o19901225: on/after 12/25/1990 ob: Before YYYYMMDDHHMMSS ob: before today ob19901225: before 12/25/1990 od: no older than N Days od5: five or less days old oa: After YYYYMMDDHHMMSS (last access) oa: on today oa19901225: after 12/25/1990 oab: Before YYYYMMDDHHMMSS (last access) oab: before today oab19901225: before 12/25/1990 oc: After YYYYMMDDHHMMSS (created) oc: on today oc19901225: after 12/25/1990 ocb: Before YYYYMMDDHHMMSS ocb: before today ocb19901225: before 12/25/1990
pMatch using full Pathnames
p1: match Pathname with subdirs
qQuery on each file
rRecurse subdirectories
sSet archive time-Stamp to newest
s1: save original time-Stamp s2: set archive time-Stamp s3: save both original time-Stamps
tSet file Type (default 0)
t0: set binary file type t1: set C text file type t1f: force C text file type t1g: set C text with graphics
uUpdate files (new + newer)
u1: Update files (new + OLDER) u2: Update files (new + different) u3: Update files (new + CRC mismatch)
vEnable multiple Volumes
v360: build 362000 byte volumes
v50K: build 50000 byte volumes
va: auto-detect space available
vd/tmp/*: delete /tmp/*
ve: use alternate volume naming
vi: inhibit diskette change test
vr50K: reserve 50000 bytes of space on first volume
vs: provide command prompt
vscmd: execute cmd before each vol
vv: beep between volumes
vw: keep Whole files in volumes
vz: provide command with no echo
v360,v720,v1200,v1440: abbrevs Volume options may be in any order
except s and z which must be last
wAssign Work directory
w/tmp: use /tmp as work directory
xeXclude selected files
x*.sh: exclude *.sh files x!names: exclude files in names multiple exclusions are allowed
yAssume Yes on all queries except diskette volume prompts
Use this switch for batch mode
zSupply archive comment file _ Convert filenames to lower case
zarc.cmt: use arc.cmt for comments z/dev/null: use to strip comments
h#Append date string to name
h#1: append time string to name
h#2: append DHHMMSS to name (custom: h#{Y,M,D,N,h,m,s})
h#YYYY-MMDD: append YYYY-MMDD
h$Try to use longnames (Win2000)
h2Obsolete synonym for -2 group of options
haIgnore readonly Attribute
hbSelect by file attribute/type
a - archive bit set b - archive bit clear r - readonly s - system h - hidden d - directory n - normal file, not d,h,r,s,c,l c - chapter label l - volume label f - abbrev for n,d,r,s,h u - UNIX special files w - win95 long filenames hb: select all types hbsh: select hidden, system only hbd: select dirs only
hcExecute Command at arj start
hcclear: execute clear
heSkip test of security Envelope
he1: set error on security Envelope
hfSet short filenames only
hf1: set longnames in file comment or extract with w95lname.nnn hf2: use long filenames in DOS hf3: set longnames in file comment using shortname wildcards hf4: set all files archived in Windows as Windows long filenames
hgSpecify garble module filename
hgarjcrypt.so: set arjcrypt.so as name of garble module hg!: specify use of 40 bit encryption
hiDetailed display in Index files
hkBuild data protection record
hkDefault amount of recovery data
hk1: more recovery data
hk9: maximum amount of recovery data
Disable ARJ-PROTECT when used with the "y" command
hlReturn error for Listfile error
hmIncrease file list capacity
hm!: redirect -hm temp file hm! : move temp file to XMS mem hm!/tmp : move temp file to /tmp
hnSpecify non-existent filespec
hn####: set #### as filespec
hoOnly extract files with matches
ho1: Only extract files without matches
hqIgnore open access error on adds
hq1: ignore open not found error on adds hq2: ignore access and not found on adds
hrTry to ignore archive errors
hsDisable file Sharing
htSet Target directory
ht/destdir
huAllow Update of volume archives
hvCheck for arj version
hwScroll save search filename display
hw1: display only filenames with matches
hxSet default archive extensions
hx.arj.sdn
hyset arj32 to use ANSI codepage set arj to extract ANSI codepage archive
hy1: force arj32 to use OEM codepage hy2: force arj32 to use ANSI codepage
hzCreate an ARJ-SECURITY envelope
j#Store only CRC and not the file
j#1: store only date, size, attributes j#2: restore file attributes j#3: restore file dates j#4: restore file attributes and dates
j$Do not process file DTA and DTC
jaSet P command to display ANSI
ja1: inhibit the display of comments
jbSet chapter backup processing
jb0: clear chapter archive status jb*: select all chapter backup files
jcExit after Count of files
jc5: exit after 5 files jc nam1 nam2: exit after 2 files
jdEnsure free Disk space
e -jd50K: skip file if<50000 free l -jd1000: set error if<1000 free
jeCreate self-extracting archive
je1: create SFXJR archive
jfStore/use Full specified path
jf1: store/use path minus drive
jg[OBSOLETE]
jg1: [OBSOLETE]
jhSet Huffman buffer size
jh65535: set to 65535 bytes (max) jh2048: set to 2048 bytes (min)
jiCreate Index file
jiindex.file: create index.file
jkKeep temp archive on error
jlDisplay only filespecs
jmSet Maximum compression mode
jm1: set faster Maximum compression
jnRestart volumes at fileName
jn/bin/test: restart at /bin/test jn: get restart information from previously written index file
joQuery when updating archive file
jo: extract to unique Output names jo1: extract to unique Output names keeping file extension
jpPause after each screenful
jp50: pause, set page size to 50
jqSet string parameter
jqstring: set parameter to string
jrRecover broken archive files
jr1: Recover badly broken archive files
jsStore archives by suffix (default is arj, arc, lzh, pak, rar, zip, zoo, j, and uc2).
js.zoo: store only .zoo files
jtTest temporary archive by CRC
jt1: Test CRC and file contents jt2: Test only added file contents jt3: Test only file date-time and size
juTranslate UNIX style paths
jvSet Verbose display
jv1: set special verbose list mode
jwSet extract output filename
jwnew.file: output to new.file
jxStart at eXtended position
jx10000: start at position 10000
jySuppress queries assuming Yes
a - skip append query
c - skip create directory query
d - skip delete files query
k - skip disk space available query
n - skip new filename prompt
o - skip overwrite file query
r - erase all type-ahead before query
s - skip scanned enough text query
v - skip proceed to next volume query
y - accept single character Y/N/A/Q
jycny: skip create, new name queries in single character
input mode
jzSupply file for file comment
jzfile.cmt: use file.cmt for comments jz/dev/null: use to strip file comments
2aSerialize names on extraction
2b[UNIX] restrict to Block devices
2b or 2b.: current device only 2b-/usr: all except where /usr is located
2c[OS/2, NT] handle Crit. EAs only
2darj/DOS compatibility mode
2d1: (OBSOLETE) comment compatibility
2e[OS/2, NT] filter Extended attrs
2e.*: pack/unpack system EAs only 2e.ICON?: pack/unpack icons only 2e: disable EAs handling
2fDisable comment serialization across multiple volumes
2h[UNIX] Disable hardlink handling
2h1: Extract hardlinks as symlinks
2kSkip century display in dates
2k1: use a non-ambiguous date display format
2l[OS/2, NT] treat .LONGNAME EAs as filenames when possible
2o[UNIX] store/restore file ownership
2o1: Store numeric UID/GID values 2o2: Same as -2o but saves group as well
2pSpecify process Priority class
OS/2, NT: 2p1...2p4 Linux, FreeBSD: 2p1...2p41
2rRevert directory Recursion order
2s[UNIX] preserve Symlink properties
2x[OS/2, NT]: eXclude extended attrs
2x.ICON?: ignore icons
Save path information in archive Save long filenames Save/restore extended attributes Save/restore file date-time created and accessed in Win95 and OS/2 Save timestamps in the UNIX format under UNIX-like operating systems Don't save drive and root in path information Display comment ANSI sequences with built-in display handler Prompt before overwriting output files Use method 1 compression Use binary mode Use ! as list file symbol The "ac" command is an abbreviation for "u -u2 -jb" The "cc" command is an abbreviation for "y -jb" The "dc" command is an abbreviation for "d -jb"
Under Win32, arj uses OEM codepage by default. The "-hy" option sets arj to use the ANSI codepage which is the Windows graphical environment default. arj/Win32 self-extracting archives should be built using the "-hy" option.
To ensure compatibility with previous versions of arj, the "-2d" parameter has to be specified when archiving under UNIX.
|
yes |
|---|---|
|
no |
|
abort out of |
|
always assume yes for current type of query |
|
always assume no for current type of query |
|
always assume yes for all queries except diskette volume prompts |
|
prompt for and execute one system command |
ARJ_SW = -jyry -jv -i1
ARJ_SW = /etc/arj.cfg
0
Success
1
Warning (specified file to add to archive not found, specified file to list, extract, etc., not found, or answering negatively to "OK to proceed to next volume..." prompt)
2
Fatal error
3
CRC error (header or file CRC error or bad password)
4
ARJ-SECURITY error or attempt to update an ARJ-SECURED archive
5
Disk full or write error
6
Cannot open archive or file
7
Simple user error (bad parameters)
8
Not enough memory
9
Not an arj archive
10
[DOS] XMS memory error (read or write)
11
User control break
12
Too many chapters (over 250)
Add files minus directory structure:
|
|
|---|---|
Add two files to archive:
|
|
Add files to archive with verification:
|
|
Add files with maximum compression:
|
|
Add several directories of files:
|
|
Add thousands of files to an archive:
|
|
Add a chapter to an archive:
|
|
Comment archive header only:
|
|
Convert standard archive to chapter:
|
|
Convert chapter archive to standard:
|
|
Delete the last chapter from an archive:
|
|
Strip archive comment only:
|
|
Extract files from archive:
|
|
Extract maintaining directory structure:
|
|
Extract new and newer files without query:
|
|
Extract subdirectory from archive:
|
|
Extract files to directory:
|
|
Extract files to directory:
|
|
Extract files to directory with space:
|
|
Extract files to directory with space:
|
|
Extract a Win95 archive to plain DOS:
|
|
List files in archive:
|
|
Move files to archive:
|
|
Move files from archive:
|
|
Recover files from a damaged archive:
|
|
Test integrity of files in archive:
|
|
Test multiple
|
|
Add files to a multiple volume archive:
|
|
Create up to 999 archive volumes:
|
|
Extract from a multiple volume archive:
|
|
Create a multiple volume self-extractor:
|
|
Convert archive to self-extractor:
|
|
Backup dir /foo to dir /floppy:
|
|
Restore backup on dir /floppy to dir /foo:
|
|
If the first two characters of an arj comment are "))" in a self-extractor, then the self-extractor will accept the appended line as its command line.
")) -o" will force the self-extractor to overwrite existing files.
12 releases since Debian 3.1 (Sarge); the text changed 3 times.