[MacTUG] setting a file's colour with UNIX?

Marlon A. Griffith m3griffi at engmail.uwaterloo.ca
Wed May 19 12:29:20 EDT 2010


I am guessing that the file resides on a networked volume. Is that true and if so, what is the mount method(s?) that you are using to connect?

Marlon


On 19/05/10 12:24 PM, Dani Roloson wrote:
>> mdls shows it to be the kMDItemFSLabel attribute but how do I change it?
>
> I tried:
>
> osascript<<END
> tell application "Finder"
> set label index of alias "Scratch: WARNING.txt" to 2
> end tell
> END
>
> works on my 10.6.3 but the other 10.6.3 gives:
>
> 24:79: execution error: Finder got an error: Network file permission error. (-5000)
>
> Dani
> MFCF


More information about the MacTUG mailing list