EnglishFrenchSpanish

Ad


OnWorks favicon

hfs - Online in the Cloud

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

This is the command hfs 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

PROGRAM:

NAME


hfs - shell for manipulating HFS volumes

SYNOPSIS


hfs [hfs-path [partition-no]]

DESCRIPTION


hfs is an interactive command-oriented tool for manipulating HFS volumes. hfs is based on
the Tcl interpreter, so basic Tcl constructs can be used in addition to the following
commands:

mount path [partition-no]
The specified UNIX path is opened as an HFS volume. If a partition number n is
specified and the volume source is located on a partitioned medium, the nth
discovered HFS partition will be mounted. The default partition-no is 1.

umount [path]
The volume previously mounted from the specified path (or the current volume, if
none specified) is unmounted.

vol path
The volume previously mounted from the specified path is made current.

info General information about the currently mounted volume is displayed. This
information is also displayed automatically when the volume is mounted.

pwd The full path to the current working HFS directory is displayed.

cd [hfs-path]
The current working directory is changed to the given HFS path. If no path is
given, the working directory is changed to the root of the volume.

dir [hfs-path]
A directory listing of the specified HFS directory is displayed. If no path is
given, the contents of the current working directory are shown.

mkdir hfs-path
A new, empty directory is created with the specified path.

rmdir hfs-path
The specified directory is removed. It must be empty.

create hfs-path [type [creator]]
An empty file is created with the specified path. The Macintosh type and creator
may be specified, or they will default to TEXT and UNIX, respectively.

del hfs-path
Both forks of the specified file are deleted.

stat hfs-path
Status information about the specified HFS path-identified entity is displayed.

cat hfs-path
The data fork of the specified HFS file is displayed.

copyin unix-path [hfs-path [mode]]
The specified UNIX file is copied to the named HFS destination path. Unless
specified otherwise, the file will be copied into the current HFS working directory
using a heuristically chosen mode. The mode may be one of: macb (MacBinary II),
binh (BinHex), text, or raw.

copyout hfs-path [unix-path [mode]]
The specified HFS file is copied into the named UNIX destination path. Unless
specified otherwise, the file will be copied into the current UNIX working
directory using a heuristically chosen mode. The modes are the same as for copyin.

format path [partition-no [volume-name]]
The specified UNIX path is initialized as an empty HFS volume with the given name,
and this volume is subsequently mounted. The default volume name is Untitled.

The shell is scriptable, however it should be understood that the above commands are
actually implemented by Tcl procedures prefixed with the character "h", e.g. hmount, hcd,
etc., in order to avoid name collisions with other Tcl utilities. The "h" may be omitted
in interactive use for convenience.

Use hfs online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad