Note the colours are mapped according to my 10.6.8 system but see: http://stackoverflow.com/questions/2435580/tagging-files-with-colors-in-os-x-finder-from-shell-scripts

finder_colour(filename)

Arguments

filename

Path to a file

Value

Character string (None when no colour is set) or NA on error

See also