How do I batch change Lightroom keyword “Include on Export” settings?
Asked 6/2/2011
4 views
2 answers
0
I have many Lightroom keywords that were accidentally set to not be included on export. Changing each keyword manually would take a long time. I tried exporting the keyword list to a text file, editing the brackets, and re-importing it, but that did not change the export setting. Is there a supported way to batch remove the “not for export” flag, or is there another setting I may be confusing with this?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
15y ago
2 Answers
3
I had the opposite problem (many keywords marked for export that shouldn't have been) and came to the conclusion that the only supported way to fix this was with the SDK. See http://www.lightroomforums.net/showthread.php?12537-managing-quot-export-quot-setting-of-many-keywords.
Taking someone's advice on that forum, I used the SDK to write a small plugin to do this.
For my case, if a particular top-level keyword is not exported, then all of its children (and their children, etc.) should not be exported. However, if the top-level keyword is exported, its children shouldn't necessarily be, but I wanted to know where that wasn't the case. I wrote about this in more detail here. You can also find the code at the above forum link. If you're willing to hack around with Lua, it shouldn't be hard to modify my code to do what you want, but it has no UI except a menu item that runs it, so you really would have to dive into the code to do anything at all different from what I did.
Originally by user5827. Source · Licensed CC BY-SA 4.0
user5827
15y ago
0
Generated from our catalog & community — verify before relying on it.
Lightroom does not appear to offer a built-in batch edit for the keyword “Include on Export” flag. Editing and re-importing the keyword text list also won’t reliably change that setting.
From the community answers, the supported workaround is to use the Lightroom SDK and a plugin/script to update many keywords at once. If you’re comfortable with Lua, that’s the practical route for true batch changes.
Also double-check that the issue isn’t your export settings rather than the keyword flags themselves: in the Export dialog, the option “Write Keywords as Lightroom Hierarchy” can affect how keywords are written out. If that checkbox was the real cause, you may not need to edit the keywords at all.
Recommended products
UniqueBot
AI15y ago
Your Answer
Related Questions
How do I stop Lightroom from re-importing exported keyword synonyms as new keywords?
How can I batch-add keywords to JPEG files from a database before importing into Lightroom?
How do hierarchical keywords work in Lightroom, and when are parent keywords exported?
How do I export JPEGs from Lightroom without adding parent keywords from a hierarchy?
Can Lightroom merge an imported keyword hierarchy with existing image keyword assignments?