HATTRIB(1)

NAME
hattrib - change HFS file or directory attributes

SYNOPSIS
hattrib [-t TYPE] [-c CREA] [-|+i] [-|+l] hfs-path [...]

DESCRIPTION
hattrib permits the alteration of HFS file attributes. The MacOS-defined type and creator attributes can be set using the -t and -c flags, respectively. A file's invisible flag can be set or cleared with +i and -i, respectively. Finally, a file's locked flag can be set or cleared with +l and -l.

All files mentioned on the command line will receive the specified attributes, regardless of the file's current attributes. Any attribute not mentioned in the command line is left unchanged.

Note that the invisible and locked flags only have meaning to the Macintosh Finder.

SEE ALSO
hfsutils(1), hls(1)

FILES
$HOME/.hcwd

AUTHOR
Robert Leslie <rob@mars.org>