This command sets or modifies Macintosh file attributes.
TNHOME/usr/bin
atattr [-C] [-V] [-v] [-u] [{+|-}bcdimrsw] filename...
-C |
Display the program copyright message and execute the command. |
-V |
Display the program version number and execute the command. |
-v |
Execute the command in verbose form, listing files or directories affected. |
-u |
Display the program usage message only. |
+bcdimrsw |
Add one or more of the attributes below. |
-bcdimrsw |
Delete one or more of the attributes below. |
(Attributes) Although this command accepts requests for adding and deleting these attributes, it only manipulates the c, i, and s attributes. TAS AppleTalk file services treat the other attributes as "read-only". |
b -- Backup Required c -- Copy Protect d -- Delete Inhibit i -- Invisible m -- Multi-User r -- Rename Inhibit s -- System w -- Write Inhibit |
filename |
The full or relative path to the file whose attributes you want to change. You can name multiple files on the same command line. Separate them with spaces. |
Use the following command to add the Invisible and Write Inhibit attributes to the files private and notes in the current directory, display the program version number, and execute in written form:
atattr -Vv +iw private notes