ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: robertoleonardo on October 14, 2019, 07:02:23 PM

Title: Alternative to Braces Syntax
Post by: robertoleonardo on October 14, 2019, 07:02:23 PM
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! 
Title: Re: Alternative to Braces Syntax
Post by: StarGeek on October 14, 2019, 07:21:03 PM
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).