finder_colour_fast: Query the colour label of a file in the MacOS X Finder

View source: R/utils.R

finder_colour_fastR Documentation

Query the colour label of a file in the MacOS X Finder

Description

Note this queries all the files in a single call to mdls, which can fail for very long file lists (about 260k characters). 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 Drops the file and gives a message if a file does not exist

Usage

finder_colour_fast(files)

Arguments

files

Path to (a) file(s)

Value

Named character vector (None when no colour is set)

Author(s)

jefferis

See Also

Other finder_colour: finder_colour, set_finder_colour


jefferis/gphys documentation built on June 18, 2024, 4:35 a.m.