Adding a new line in a -p

Started by SyL, February 01, 2013, 03:13:19 AM

Previous topic - Next topic

SyL

Hi there,

After a search in the forum about topics linked to "new lines" and a reading of the FAQ, I am still struggling to solve this.
I just want 2 tag descriptions separated by a new line (no tags names, no groups names or whatever).
With -s3 no new line in between the tags, so I try with -p STR.
But the following code separates the two tag descriptions by a space and that's it. What am I doing wrong ?
Thanks in advance for your answers.

exiftool  -p '$LongDescription $/ $Artist'  "$f"

Under Mac OSX 10.8 by the way.

Phil Harvey

That's odd.  I'm on OSX 10.8 too, and I get this:

> exiftool -ver
9.16
> exiftool -p '$filename$/$filesize' a.jpg
a.jpg
652 kB


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

SyL

It is a shell script in Automator.
Then I display a dialog panel with the output.
... display dialog (input as string) ...
Maybe it comes from the Applescript.

SyL

In any cases congratulations for this powerfull tool, for the documentation and for your quick and efficient answers in the forum.
I like to play with your toys  8)