Dealing with the Inconsistency of Keywords Case Sensitivity in Photos for Mac

by: 
Last modified: Jul 10, 2016 1:04 AM
2 2553 Last modified Jul 10, 2016 1:04 AM

As noted in this discussion photos keywords case sensitivity by CasaJ, keywords are case sensitive when assigned to a photo, also in Smart Albums, but not, when used from the search field. So we can have duplicate keywords, differing only in the case of the letters, which makes it tricky to use them in Smart albums together with other constraints.


But we cannot simply merge the keywords by renaming them in the Keyword Manager, if they only differ in the case of a few letters.

I am using this work-around to fix keywords with the wrong lower case or upper case:

  • First I create a smart album with all photos that have either of the keywords that need to be fixed.
    File > New Smart album: User uploaded file
  • Then I assign a new keyword "Dummy" to all photos in this smart album by selecting all at once with ⌘A and opening the Info panel with ⌘I. Then I type in the Dummy keyword.
  • Now I open the Keyword Manager window (with ⌘K), click "Edit keywords", and delete both wrong versions of the keyword, to remove them completely from all photos and the list of keywords.
  • Then I assign the a new, correctly spelled keyword to all photos in the Dummy smart album and delete the Dummy keyword as well.

This will work in all cases, where the incorrectly spelled keyword is not embedded in the EXIF tags of the original image files. If the keywords with bad spelling are in the EXIF tags of the imported image files, they have to be removed from the original files with exiftool (http://www.sno.phy.queensu.ca/~phil/exiftool/) or some other tool, that can edit EXIF tags.

I had accidentally written incorrectly spelled keywords to the original files while I have been using Aperture, and those typos have been migrated to Photos. when I am seeing such a wrong keyword, I have to export the photo and to fix it outside Photos, hen reimport it without the offending keywords embedded in the EXIF.

Comments

Apr 13, 2017 10:00 AM

léonie:

Then I assign the a new, correctly spelled keyword to all photos in the Dummy smart album and delete the Dummy keyword as well.

If you were to just rename the Dummy keyword to the correct keyword wouldn't that be just as effective? Then create another Dummy keyword for the next go around.

Apr 13, 2017 10:00 AM

Apr 14, 2017 11:59 AM

Good idea, OT. When I wrote this user tip for Photos on Yosemite, it did not yet work correctly to rename a keyword. I could rename the keyword, but the keyword was not changed on the photos, where it had been assigned to. So I had to replace the Dummy keyword. This is now working better, as far as I can see.


But what still is buggy - if I rename a keyword in Photos in Sierra, the keyword will change its name correctly on all photos in the Info panel, but the smart albums with a rule "Keaword is Dummy" will not update the rule as well and use the renamed keyword.

Apr 14, 2017 11:59 AM

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.