1HFSUTILS(1) General Commands Manual HFSUTILS(1)
2
3
4
6 hfsutils - tools for reading and writing Macintosh HFS volumes
7
9 hattrib - change HFS file or directory attributes
10 hcd - change working HFS directory
11 hcopy - copy files from or to an HFS volume
12 hdel - delete both forks of an HFS file
13 hdir - display an HFS directory in long format
14 hformat - create a new HFS filesystem and make it current
15 hls - list files in an HFS directory
16 hmkdir - create a new HFS directory
17 hmount - introduce a new HFS volume and make it current
18 hpwd - print the full path to the current HFS working directory
19 hrename - rename or move an HFS file or directory
20 hrmdir - remove an empty HFS directory
21 humount - remove an HFS volume from the list of known volumes
22 hvol - display or change the current HFS volume
23
24 hfssh - Tcl interpreter with HFS extensions
25
26 hfs - shell for manipulating HFS volumes
27 xhfs - graphical interface for manipulating HFS volumes
28
30 hfsutils is a collection of tools and programs for accessing Macintosh
31 HFS-formatted volumes. See the accompanying man page for each program
32 above for more information.
33
35 These utilities can manipulate HFS volumes on nearly any medium. A UNIX
36 path is initially specified to hmount or hformat which gives the loca‐
37 tion of the volume. This path can be a block device -- corresponding
38 to, for example, a floppy disk, CD-ROM, SCSI disk, or other device --
39 or it can be a regular file containing an image of any of the above.
40
41 The medium specified by the UNIX path may or may not contain an Apple
42 partition map. If partitioned, it is possible for more than one HFS
43 volume to be present on the medium. In this case, a partition number
44 must also be given which selects the desired partition. This number
45 refers to the nth ordinal HFS partition on the volume. (Other, non-HFS
46 partitions are ignored.) Partition number 0 refers to the entire
47 medium, disregarding the partition map, if any.
48
49 HFS pathnames consist of colon-separated components. Unlike UNIX path‐
50 names, an HFS path which begins with a colon (e.g. :Foo:Bar) is a rela‐
51 tive path, and one which does not (e.g. Foo:Bar) is an absolute path.
52 As sole exception to this rule, a path not containing any colons is
53 assumed to be relative.
54
55 Absolute pathnames always begin with the name of the volume itself. Any
56 occurrence of two or more consecutive colons in a path causes resolu‐
57 tion of the path to ascend into parent directories.
58
59 Most of the command-line programs support HFS filename globbing. The
60 following forms of globbing are supported:
61
62 * matches zero or more characters.
63
64 ? matches exactly one character.
65
66 [...] matches any single character enclosed within the brackets. A
67 character range may be specified by using a hypen (-). Note that
68 matches are not case sensitive.
69
70 {...,...}
71 expands into the Cartesian product of each specified substring.
72
73 \ causes the following character to be matched literally.
74
75 Note that since globbing is performed by each HFS command rather than
76 by the UNIX shell (which knows nothing about HFS volumes), care should
77 always be taken to protect pathnames from the shell by using an appro‐
78 priate quoting technique. Typically it is best to surround HFS path‐
79 names containing glob characters with single quotes (').
80
81 Time stamps on HFS volumes are interpreted as being relative to the
82 current time zone. This means that modification dates on HFS volumes
83 written in another time zone may appear to be off by some number of
84 hours.
85
86 Hardware limitations prevent some systems from reading or writing
87 native Macintosh 800K floppy disks; only high-density 1440K disks can
88 be used on these systems.
89
90 The obsolete MFS volume format is not supported by this software.
91
93 hattrib(1), hcd(1), hcopy(1), hdel(1), hdir(1), hformat(1), hls(1),
94 hmkdir(1), hmount(1), hpwd(1), hrename(1), hrmdir(1), hvol(1), hfs(1),
95 xhfs(1)
96
98 Robert Leslie <rob@mars.org>
99
100
101
102HFSUTILS 08-Nov-1997 HFSUTILS(1)