Sets the file attribute bits, whereattributesis a string of case-sensitive letters. Each letter corresponds to a file attribute: an uppercase letter indicates that the attribute bit is set (1); a lowercase letter indicates that it is not (0). These are the same attributes that are displayed for files in the-land-xoptions of the Files command.
The letters and their "attribute set" meanings are given in the table below. Note that attributes that are not specified in the command line remain unchanged.
Attribute
Meaning when set
A | a
Finder alias file.
V | v
Invisible. *
B | b
Has bundle. *
S | s
System file.
T | t
Stationery file.
C | c
File has custom icon.
O | o
File is open.
L | l
Write-locked.
I | i
Initialized (that is, the Finder is aware of this file and has given it a locationin a window). *
N | n
File has no 'INIT' resource.
M | m
Shared file (can be launched multiple times).
W | w
Always switch launch (if possible).
D | d
Located on the desktop. Note that this attribute is not used in System 7. *
* This attribute can also be set for folders.
Note These attributes are described in the chapter about the File Manager inInside Macintosh. •
(used in EditCDEV example)
-a attributes
Sets the file attribute bits, where attributes is a string of case-sensitive letters. Each letter corresponds to a file attribute: an uppercase letter indicates that the attribute bit is set (1); a lowercase letter indicates that it is not (0). These are the same attributes that are displayed for files in the -l and -x options of the Files command.
The letters and their "attribute set" meanings are given in the table below. Note that attributes that are not specified in the command line remain unchanged.
* This attribute can also be set for folders.
Note
These attributes are described in the chapter about the File Manager in Inside Macintosh. •