Note that there is a rootTagKeywordsAliases
setting that you can add !My Keywords
to: setting this would put !My Keywords|nature|tree
into Keywords/nature/tree
within PhotoStructure.
Also: just added this new setting to beta.10:
# +----------------------+
# | keywordReparenting |
# +----------------------+
#
# How should PhotoStructure handle hierarchical keywords?
#
# If this is set to "move," PhotoStructure will try to put hierarchical
# keywords into their "correct" root tag, like "Who," "Album," or "Where."
#
# If this is set to "retain," PhotoStructure will always place hierarchical
# keywords under the "Keyword" root tag.
#
# If this is set to "copy," PhotoStructure will add both the "correct" root
# tag _and_ the "Keyword" tag. For example, "Person|Doe|Jane" will be tagged
# as "Who|Doe|Jane" as well as "Keyword|Person|Doe|Jane".
#
# Valid values: move,copy,retain
#
# PS_KEYWORD_REPARENTING="move"
Here’s an example:
exiftool -j -Keywords example.jpg
[{
"SourceFile": "example.jpg",
"Keywords": "Where|Dunes beach,Tag|Panorama,!My Keywords|Bunny loop,Trail"
}]
move
Here’s the tags with move
(the default):
"!My Keywords|Bunny loop",
"Keywords|Panorama",
"Keywords|Trail",
"Where|Dunes beach",
(Notice that “Tag|Panorama” got moved into the Keywords root because “Tag” is an alias for 'Keywords" (as per rootTagKeywordsAliases
)
copy
Here are the tags with copy
:
"!My Keywords|Bunny loop",
"Keywords|!My Keywords|Bunny loop",
"Keywords|Panorama",
"Keywords|Trail",
"Keywords|Where|Dunes beach",
"Where|Dunes beach",
retain
@mnaoumov here’s what I (hope) you asked for:
"Keywords|!My Keywords|Bunny loop",
"Keywords|Panorama",
"Keywords|Trail",
"Keywords|Where|Dunes beach",