Hello,
I was wondering if it was possible to write a tag with new line in -stay_open True
without first writing it to a file, and then doing -comment<=file.txt
? http://www.exiftool.org/faq.html#Q21 (http://www.exiftool.org/faq.html#Q21) stays it's either this method, or doing exiftool '-comment<line 1$/line 2' image.jpg
. I don't want to use the first one because it will use IO and be slow, and second one because I don't want to manipulate string by replacing \n with $/ and also in FAQ it says it might be slower. Any other options for me here? Thanks.
If I understand, you are reading arguments from an argfile and you want to read an argument containing a newline without escaping the newline in any way.
Not possible.
The newline character is the delimiter in the argfile, so you can't use it in an argument.
- Phil