ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: BogdanH on October 17, 2010, 01:29:47 PM

Title: CR char in exported XMP file
Post by: BogdanH on October 17, 2010, 01:29:47 PM
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
Title: Re: CR char in exported XMP file
Post by: Phil Harvey on October 17, 2010, 04:01:52 PM
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
Title: Re: CR char in exported XMP file
Post by: BogdanH on October 18, 2010, 01:15:37 AM
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
Title: Re: CR char in exported XMP file
Post by: BogdanH on October 24, 2010, 10:20:45 AM
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