1HATTRIB(1)                  General Commands Manual                 HATTRIB(1)
2
3
4

NAME

6       hattrib - change HFS file or directory attributes
7

SYNOPSIS

9       hattrib [-t TYPE] [-c CREA] [-|+i] [-|+l] hfs-path [...]
10
11       hattrib -b hfs-path
12

DESCRIPTION

14       hattrib  permits  the  alteration  of HFS file attributes. In the first
15       form, the MacOS-defined type and creator attributes can  be  set  using
16       the  -t  and -c flags, respectively. A file's invisible flag can be set
17       or cleared with +i and -i, respectively. Finally, a file's locked  flag
18       can be set or cleared with +l and -l.
19
20       All  files  mentioned  on  the  command line will receive the specified
21       attributes, regardless of the file's current attributes. Any  attribute
22       not mentioned in the command line is left unchanged.
23
24       In the second form, a single HFS pathname refering to a folder is given
25       with the -b option, causing it to become "blessed" as the MacOS  System
26       Folder.  For  this to be useful, the folder should contain valid Macinā€
27       tosh System and Finder files.
28
29       Note that the locked and "blessed" attributes have  little  consequence
30       to hfsutils.
31

SEE ALSO

33       hfsutils(1), hls(1)
34

FILES

36       $HOME/.hcwd
37

AUTHOR

39       Robert Leslie <rob@mars.org>
40
41
42
43HFSUTILS                          30-Aug-1998                       HATTRIB(1)
Impressum