hdir - display an HFS directory
SYNOPSIS
hdir [hfs-path]
DESCRIPTION
hdir displays the contents of an HFS directory. If an
argument is given, the specified directory is shown. Oth-
erwise, the current working directory is shown.
The output is divided into columns:
a single character: f for a file or d for a direc-
tory;
the file type and creator codes as defined under the
Macintosh Operating System;
the size of the file's resource fork in bytes;
the size of the file's data fork in bytes;
the date and time of last modification to the file
(or directory); and
the name of the file (or directory).
If any unprintable characters appear in the type, creator,
or filename fields, the offending characters are replaced
by question marks (?).
SEE ALSO
hfsutils(1), hcd(1), hpwd(1), hls(1), hcopy(1), hattrib(1)
FILES
$HOME/.hcwd
BUGS
An argument, if supplied, must be the path to an HFS
directory; it can't be a file. Neither can it glob-expand
into more than one directory.
The output format isn't very flexible.
The modification date may be off by some number of hours
depending on the time zone in which the HFS filesystem was
written.
AUTHOR
Robert Leslie <rob@mars.org>