|
Haha. I wouldn't do that to you. ;)
There are three ways:
1) In a Unix shell, you can put a line break in the command
using "\" at the end of the line (not sure if you can do this in
Windows though):
exiftool -imagedescription="line 1\
line 2" image.jpg
2) Create a file with the the exact description, including
linebreaks, and write the value from the contents of the
file:
exiftool -imagedescription"<=file.txt" image.jpg
3) Use $/ in a redirection expression to generate the newline:
exiftool "-imagedescription<line 1${/}line 2" image.jpg
The third technique, however, incurs a performance penalty since
it will first read the file to extract tag values in case they are used
in the expression (which they aren't).
- Phil
|