ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: apl on June 15, 2010, 03:08:01 AM

Title: Outputting IPTC fields
Post by: apl on June 15, 2010, 03:08:01 AM
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
Title: Re: Outputting IPTC fields
Post by: apl on June 15, 2010, 03:14:31 AM
Sorry, that's what comes from scanning pages instead of reading them...
And the answer is -b
:|

Title: Re: Outputting IPTC fields
Post by: apl on June 15, 2010, 03:51:08 AM
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?

Title: Re: Outputting IPTC fields
Post by: Phil Harvey on June 15, 2010, 07:28:02 AM
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
Title: Re: Outputting IPTC fields
Post by: apl on June 15, 2010, 08:44:16 AM
Worked a treat, thanks for that.