forked from joncampbell123/ha_archiver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINFO
93 lines (61 loc) · 3.47 KB
/
INFO
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
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
About HA
HA is a small file archiver utility. It's main goal is to offer
maximum compression without fancy addons.
Commands of MSDOS version
General form of command line for HA is :
ha <command string> [archive [search pattern list]]
Command string starts with command character and includes optional
switch characters.
Available commands are:
a[sdqemr012] Add files matching search pattern to archive.
e[aqty] Extract files matching search pattern from archive.
x[aqty] Extract files matching search pattern from archive
using path information stored in archive.
l[f] List files currently in archive.
d[q] Delete files matching search pattern from archive.
If archive does not contain any files after deletion
it is removed.
f[sdqemr012] Freshen files in archive. All files matching search
pattern and newer than version already in archive
are updated to archive.
u[sdqemr012] Update files to archive. All files matching search
pattern that are newer than version already in
archive or are not yet in archive are updated to archive.
t[q] Test files in archive.
Available switches are:
0,1,2 Try compression method #. More than one can be specified.
Methods are:
0-CPY Simple copying of files.
1-ASC Default method using sliding window dictionary
followed by arithmetic coder. Offers quite good
compression on wide variety of file types.
2-HSC Compression method based on finite context model
and arithmetic coder. Quite slow for binary data,
but offers very good compression especially for
longer text files.
y Assume answer yes on all questions.
t Touch files when extracting. Sets file times to current
machine time.
r Recurse through subdirectories while searching for files
matching search pattern.
f Full listing of stored file information.
m Move files when archiving. Files are removed from disk
after they are successfully written to archive.
a Set system specific file attributes when extracting files.
s Find special files when archiving.
e Do not store pathname information.
q Quiet operation.
d Make separate entries for directories. Saves information
about empty directories, directory attributes etc. in
archive.