How to include "carriage return" in a tag

Started by Jossie, January 29, 2021, 05:17:34 AM

Previous topic - Next topic

Jossie

Hello,

to document the image processing history I use the tag "ifd0:imagehistory" and it works fine. However, the tag gets quite long so I want to include a "carriage return" in the text string to make it more readable if I export the tag to a text file. How could I do that?

Best wishes

Hermann-JOsef
WINDOWS11 64bit

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Jossie

Hello Phil,

thank you for pointing me to FAQ21. Unfortunately I am working with the Windows command shell :-( .

Best wishes

Hermann-Josef
WINDOWS11 64bit

StarGeek

Look at option B under that FAQ.

I tend to use html entities when doing this.  So the command would include something like -E -imagehistory="Line 1
Line 2"

Of course, there's also the C style option, which would be -ec -imagehistory="Line 1\rLine 2"

Then there's always the -api Filter option listed at the start of the FAQ.

All of these work on Windows.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).