I'm using -stay_open in my program to send commands to exiftool.
When I write a tag whose value contains CrLf (or just Cr or Lf) how do I escape them in the command input file? I tried surrounding the whole value with " " but that did not work.
I'm not using -struct, but would I escape these characters the same as for -struct tag values using '|' ? (that does not seem to work)
Thanks!
Curtis
Hi Curtis,
The newline is used as a separator for the -@ option, so you can't send one directly. However, see FAQ 21 (https://exiftool.org/faq.html#Q21) examples b, c and d are ways around this.
- Phil
:) Thanks Phil that did the trick!