ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: AnneA on April 06, 2010, 06:56:22 AM

Title: Wildcards or batch processing - how to?
Post by: AnneA on April 06, 2010, 06:56:22 AM
First: Many thanks for all the effort you put into this wonderfully useful and flexible tool!


I need to copy tags between files based on the identity of their file name.

For example this works fine:

exiftool -TagsFromFile from/filename.JPG  -IPTC:Caption-Abstract to/filename.JPG

Basically I want to batch batch process the last command, doing something like this:

exiftool -TagsFromFile from/*.JPG  -IPTC:Caption-Abstract to/*.JPG

Unfortunately this doesn't work. How can I achieve the intended behaviour?

Anne
Title: Re: Wildcards or batch processing - how to?
Post by: Phil Harvey on April 06, 2010, 07:17:44 AM
Hi Anne,

You're welcome. :)

Try this:

exiftool -tagsfromfile from/%f.%e -iptc:caption-abstract -ext jpg to

- Phil
Title: Re: Wildcards or batch processing - how to?
Post by: AnneA on April 06, 2010, 07:30:07 AM
exiftool -tagsfromfile from/%f.%e -iptc:caption-abstract -ext jpg to

Wonderful – that works smoothly!

Thank you VERY much for your swift support!

(I just donated 10 bucks)
Title: Re: Wildcards or batch processing - how to?
Post by: Phil Harvey on April 06, 2010, 08:56:26 AM
Hi Anne,

Thanks for the donation, I didn't realize that was you.

- Phil