OnWorks favicon

hfsutils - Online in the Cloud

Run hfsutils in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hfsutils that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



hfsutils - tools for reading and writing Macintosh HFS volumes


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 in long format
hformat - create a new HFS filesystem and make it current
hls - list files in an HFS directory
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

hfssh - Tcl interpreter with HFS extensions

hfs - shell for manipulating HFS volumes
xhfs - graphical interface for manipulating HFS volumes


hfsutils is a collection of tools and programs for accessing Macintosh HFS-formatted
volumes. See the accompanying man page for each program above for more information.


These utilities can manipulate HFS volumes on nearly any medium. A UNIX path is initially
specified to hmount or hformat which gives the location of the volume. This path can be a
block device -- corresponding to, for example, a floppy disk, CD-ROM, SCSI disk, or other
device -- or it can be a regular file containing an image of any of the above.

The medium specified by the UNIX path may or may not contain an Apple partition map. If
partitioned, it is possible for more than one HFS volume to be present on the medium. In
this case, a partition number must also be given which selects the desired partition. This
number refers to the nth ordinal HFS partition on the volume. (Other, non-HFS partitions
are ignored.) Partition number 0 refers to the entire medium, disregarding the partition
map, if any.

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 volume itself. Any occurrence of two
or more consecutive colons in a path causes resolution of the path to ascend into parent

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 specified substring.

\ causes the following character to be matched literally.

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 pathnames
from the shell by using an appropriate quoting technique. Typically it is best to surround
HFS pathnames containing glob characters with single quotes (').

Time stamps on HFS volumes are interpreted as being relative to the current time zone.
This means that modification 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.

Use hfsutils online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 2
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 3
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 5
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    With Hugin you can assemble a mosaic of
    photographs into a complete immersive
    panorama, stitch any series of
    overlapping pictures and much more..
    Audience: Sci...
    Download Hugin
  • 7
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands