ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:13 AM

Title: How to use multiple tags, but specify group only once?
Post by: Archive on May 12, 2010, 08:54:13 AM
[Originally posted by bogdan on 2008-01-02 14:58:05-08]

Hi Phil,

Inside metadata, there may be many tags using equal tag names, but reside in different (sub)groups. So, to force reading desired tags from particular group only, I use (for example):

exiftool -f -S -exif:TagName1 -exif:TagName2 -exif:TagName3 photo.jpg

-which is not very practical when dealing with a lot of tags.

Now, is it possible to do something like:

exiftool -f -S -exif:(TagName1,TagName2,TagName3) photo.jpg

-without some script usage?

Wish you Happy New Year,

Bogdan
Title: Re: How to use multiple tags, but specify group only once?
Post by: Archive on May 12, 2010, 08:54:13 AM
[Originally posted by exiftool on 2008-01-02 17:06:45-08]

Hi Bogdan,

In Unix, the shell will do this for you using your exact command,
but with curly brackets:

Code:
exiftool -f -S -exif:{TagName1,TagName2,TagName3} photo.jpg

But I don't know if such a feature exists if you are using the
windows command shell.  Exiftool doesn't have any built-in
feature to do this.

- Phil
Title: Re: How to use multiple tags, but specify group only once?
Post by: Archive on May 12, 2010, 08:54:13 AM
[Originally posted by bogdan on 2008-01-02 18:29:03-08]

Thanks,

I'll try on Windows -allready forgot most of Cmd-prompt stuff :-)

Bogdan