ExifTool Forum

ExifTool => Newbies => Topic started by: rookie on March 10, 2022, 12:21:15 PM

Title: Text file to ImageDescription Tag
Post by: rookie on March 10, 2022, 12:21:15 PM
Hello,

When using exiftool via Windows command line, I understand that you cannot directly insert a carriage return from the command line (FAQ #21).
Is it the same issue if I instead read data from a formatted text file that is then referenced in the command line?
I would like to write multiple lines to the ImageDescription tag from a formatted text file that I create manually. Please let me know if you can help with syntax. If windows command line won't work please let me know the simplest alternative.

Thanks,
Nick


Title: Re: Text file to ImageDescription Tag
Post by: StarGeek on March 10, 2022, 12:40:11 PM
Option C under FAQ #21 (https://exiftool.org/faq.html#Q21) tells you how to do this.  You just need to change the tag name.
exiftool "-ImageDescription<=file.txt" file.jpg