[X4U] Terminal, Automator or AppleScript
Daly Jessup
jessup at san.rr.com
Fri Jun 6 16:07:58 PDT 2008
>On Jun 6, 2008, at 10:40 AM, wilkinw wrote:
>
>>I am looking for a terminal command, Automator, or AppleScript that
>>will let me change the label to a specific color recursively to all
>>files and folders on a hard drive.
>
>This one-liner will do it in AppleScript:
>
>tell application "Finder" to set label index of every item in entire
>contents of (choose folder) to 3
>
>Note: the "3" here is arbitrary and can be any integer from 0 (no
>label) to 7 (gray by default).
Bill, this is very interesting. How do you identify the folder for
the command? I've tried every kind of path format I can think of, but
nothing is accepted. How do you do it?
Daly
----------------------
More information about the X4U
mailing list