Skip to content
crussell42 edited this page Feb 26, 2015 · 3 revisions

Welcome to the exiftool-node-stayopen wiki!

Start exiftool in stay_open mode (stdin) version. exiftool -stay_open -@ - Command file exiftool -stay_open -@ cmds.txt

sendCommands to exiftool stdin.
-TagName
-execute42

Commands Sent
-json\n
-TagName\n
myfile.jpg\n
-execute42\n

Output From exiftool Json string [{ SourceFile: 'myfile.jpg', TagName: 'Some tag value' }]

Output returned JSON.parse(jsonString)[0];

If any error add member ErrorString: 'error message'

Clone this wiki locally