hfsutils - tools for reading and writing Macintosh HFS
volumes
SYNOPSIS
hattrib - change HFS file or directory attributes
hcd - change working HFS directory
hcopy - copy files from or to an HFS volume
hdel - delete both forks of an HFS file
hdir - display an HFS directory
hformat - create a new HFS filesystem and make it current
hmkdir - create a new HFS directory
hmount - introduce a new HFS volume and make it current
hpwd - print the full path to the current HFS working directory
hrename - rename or move an HFS file or directory
hrmdir - remove an empty HFS directory
humount - remove an HFS volume from the list of known volumes
hvol - display or change the current HFS volume
DESCRIPTION
hfsutils is a collection of tools and programs for access-
ing Macintosh HFS-formatted volumes. See the accompanying
man page for each program above for more information.
NOTES
HFS pathnames consist of colon-separated components.
Unlike UNIX pathnames, an HFS path which begins with a
colon (e.g. :Foo:Bar) is a relative path, and one which
does not (e.g. Foo:Bar) is an absolute path. As sole
exception to this rule, a path not containing any colons
is assumed to be relative.
Absolute pathnames always begin with the name of the vol-
ume itself. Any occurrence of two or more consecutive
colons in a path causes resolution of the path to ascend
into parent directories.
Most of the command-line programs support HFS filename
globbing. The following forms of globbing are supported:
* matches zero or more characters.
? matches exactly one character.
[...] matches any single character enclosed within the
brackets. A character range may be specified by
using a hypen (-). Note that matches are not case
sensitive.
{...,...}
expands into the Cartesian product of each speci-
fied substring.
Note that since globbing is performed by each HFS command
rather than by the UNIX shell (which knows nothing about
HFS volumes), care should always be taken to protect path-
names from the shell by using an appropriate quoting tech-
nique. Typically it is best to surround HFS pathnames con-
taining glob characters with single quotes (').
Time stamps on HFS volumes are interpreted as being rela-
tive to the current time zone. This means that modifica-
tion dates on HFS volumes written in another time zone may
appear to be off by some number of hours.
Hardware limitations prevent some systems from reading or
writing native Macintosh 800K floppy disks; only high-
density 1440K disks can be used on these systems.
The obsolete MFS volume format is not supported by this
software.
SEE ALSO
hattrib(1), hcd(1), hcopy(1), hdel(1), hdir(1), hfor-
mat(1), hmkdir(1), hmount(1), hpwd(1), hrename(1),
hrmdir(1), hvol(1)
AUTHOR
Robert Leslie <rob@mars.org>