Outputting IPTC fields

Started by apl, June 15, 2010, 03:08:01 AM

Previous topic - Next topic

apl

how do you output fields without the tagname included?

ie
exiftool -By-line c.jpg
gets me:
By-line                         : Joe Blogs

where I'd like to see simply
Joe Blogs

apl

Sorry, that's what comes from scanning pages instead of reading them...
And the answer is -b
:|


apl

OK a real question now...
exiftool -b -CopyrightNotice -Filename -Caption-Abstract -City -Province-State -SpecialInstructions -ICCProfileName -TransmissionReference c.jpg > metadata.txt
get's me no spaces between fields.
How can I put each field on a new line?


Phil Harvey

The -b option is for outputting individual binary tags.  Use the very short output format (-s -s -s or -S -s) to output values only, one on each line.

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

apl

Worked a treat, thanks for that.