There are multiple ways to do this, it depends on the type of photos (JPEG or RAW) and the desire to automate.
This shareware plugin seems to do what you want. When exporting your images, it assigns Mac OSX Finder labels that match the colour tags in Lightroom.
I haven't tried this myself, but the screenshots seem promising.
Manually convert LR tag to Finder label
An alternative workaround would be:
- In LR assign photos with a certain colour tag a certain keyword.
- Go to the Library view
- Filter all photos with a certain tag and select them
- On the right there should be a Keywording panel, fill in the keyword of your choice there:
- Depends on file-type:
- If JPEG: With the selection still active press CMD+S to write the metadata changes into the file.
- If RAW: export the photos to JPEG's.
- In Finder, navigate to the folder with the JPEG's and search for the keyword
- Plainly searching for the keyword is sufficient, this article describes how you can search for a specific attribute (in this case the keyword attribute).
- Assign a Finder label to the photos that are found in step 7.
- Repeat manually or automate
If you're slightly familiar with scripts you could take the following rough steps to automate assigning Finder labels based on LR colour tags:
- Make sure the LR colour tag is written to the JPEG files (see step 5 in the previous method)
- Loop over your images, e.g.:
for f in *.jpg; do echo "Check colour tag of $f file.."; done
exiftool check the value of the Label field of each image, e.g.:
exiftool -s -s -s -Label photo.jpg
- Based on the value of step 3, assign a Finder label. This requires that you use some kind of command line interface to set the Finder label, e.g.
Below script carries out the automated task for all JPG files in the current directory.
Prerequisites are that you have
tag installed. Both can be installed via homebrew:
brew install exiftool
brew install tag
for f in *.jpg
# Get the LR tag name
lrtag=$(exiftool -s -s -s -Label $f)
# This sets the tags, replacing any existing ones
tag --set $lrtag $f
# This adds tags, keeping any existing ones
# tag --add $lrtag $f
I'm not affiliated with any of the linked applications.