Set the colour label of a file in the MacOS X Finder See http://stackoverflow.com/questions/2435580/tagging-files-with-colors-in-os-x-finder-from-shell-scripts

set_finder_colour(filename, col = c("None", "Gray", "Grey", "Green",
  "Purple", "Blue", "Yellow", "Red", "Orange"))

Arguments

filename

Character vector of file(s) to add colour labels

col

Character vector of colour(s)

Value

Logical indicating success or failure

See also

Other finder_colour: finder_colour_fast, finder_colour