Posted on 2010-02-08 11:45:59.786747-08 by exiftool in response to 12342
Re: Wildcard with -tagsfromfile
Don't you mean "match the first 8 characters but ignore everything else after that"?

I assume by source you mean the source for the -tagsFromFile option.

For this to work, you must be able to generate either the source or destination filename _exactly_. If the "anything" characters are different in each case, then this can't currently be done. If you can construct the source filename exactly then it is easy as you point out. If you can't do this but you can construct the destination filename exactly from the source filename, then it is a bit more complicated but you could use the -srcfile option to do this.

Otherwise you need to write your own script to make the associations you want.

Sorry, but exiftool doesn't have the ability to specify wildcards in the -tagsFromFile argument.

- Phil
Direct Responses: 12345 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.