[X4U] Terminal, Automator or AppleScript

Bill White billwhite at mac.com
Fri Jun 6 10:17:02 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).

HTH,

Bill


More information about the X4U mailing list