CR char in exported XMP file

Started by BogdanH, October 17, 2010, 01:29:47 PM

Previous topic - Next topic

BogdanH

Hi Phil,

When I execute:
exiftool -o %f.xmp -Xmp:All Test.jpg
-resulting xmp file only contains LF character ($0A), but no CR ($0D) for newline. When opening such file in Windows Notepad, all content appears as single line, which is hard to read. Of course, more advanced text viewers/editors do recognize LF as newline, but.. well, Notepad is very handy.
Any option to force Exiftool to write $0D0A instead of just $0A?

Bogdan

Phil Harvey

Hi Bogdan,

I can't think of an easy way to do this right now, but if I come up with anything I'll let you know.

- Phil
...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 ($).

BogdanH

Hi Phil,

I just thought, that there allready might be some option concerning this. You don't need to think hard about that.. isn't that important.

Bogdan

BogdanH

Just wanted you to know, that I solved "the problem" by using -b option: after result is piped to GUI, I add CR's there, and save the file. Thanks for -b :)

Bogdan