Alternative to Braces Syntax

Started by robertoleonardo, October 14, 2019, 07:02:23 PM

Previous topic - Next topic

robertoleonardo

hi phil (or anyone more clever than i am): i use one of jeff friedl's lightroom plugins that allows me to run commands on photo files not otherwise available in lightroom (ie, exiftool). however, the plugin uses tokens/stock variables denoted by braces, so i am blocked from running any exiftool commands that themselves rely on braces because it tries to read it as a token. for example, "-subject<$subject;nodups}" has so far proven a no go from that plugin. is there any alternative symbol i can use that would work the same as braces for purposes of exiftool? i've tried to track down whether there's an escape character for the plugin but i haven't been able to find one, so trying to come at it from this direction instead. thanks! 

StarGeek

Quote from: robertoleonardo on October 14, 2019, 07:02:23 PMfor example, "-subject<$subject;nodups}" has so far proven a no go from that plugin.

Just to verify, you are using
"-subject<${subject;NoDups}"
opening and closing brace and NoDups, which is case sensitive, instead of what you typed?

Searching around Jeffrey Fried's blog, I see that he escapes a couple things by putting them inside braces. Maybe try this?
"-subject<${"{"}subject;NoDups{"}"}"

Otherwise, maybe try and contact the author and ask?  It looks like he's very active with the plugins (one page mentions exiftool ver 11.70).
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype