I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-03-15 04:36:51.548329-07 by mfeske
use in a batch
Hello everybody, what must I change when I will only convert files where is "_wm_" in the name ? Now I use %device%%in% -ext png -ext jpg -ext tif but then all files are converted ans a file names _original is theire (which I not want). Thanks for your help Micha
Direct Responses: 12538 | Write a response
Posted on 2010-03-15 04:46:18.914001-07 by exiftool in response to 12536
Re: use in a batch
Hi Micha,

It sounds like you want "*_wm_*.png *_wm_*.jpg *_wm_*.tif" on the command line. However, you won't be able to use the -r option when processing files with specific names like this.

- Phil
Direct Responses: 12541 | 12545 | Write a response
Posted on 2010-03-15 05:23:53.199696-07 by mfeske in response to 12538
Re: use in a batch
... thanks pfil i will try it.
Direct Responses: Write a response
Posted on 2010-03-15 05:44:48.044391-07 by mfeske in response to 12538
Re: use in a batch
Phil now I hvae tested, but 0 image files readed :-( The Filename is de_852369_0001_wm_m.jpg the command line is -ext *_wm.png -ext *_wm*.jpg -ext *_wm.tif without * it works Greetings Micha
Direct Responses: 12546 | 12547 | Write a response
Posted on 2010-03-15 05:48:09.128073-07 by exiftool in response to 12545
Re: use in a batch
What I have suggested will work on Mac/Linux, but apparently Windows handles wildcards differently. There should be a similar method that would work for Windows.

- Phil
Direct Responses: Write a response
Posted on 2010-03-15 05:48:45.766194-07 by mfeske in response to 12545
Re: use in a batch
Hello Phil, with *_wm*.jpg it works but than its de_852369_0001.jpg included to :-(
Direct Responses: 12553 | Write a response
Posted on 2010-03-15 06:25:52.696523-07 by exiftool in response to 12547
Re: use in a batch
I'm duplicating this post because it went to the wrong thread:

An alternative is to add a -if option to your original command, so it looks something like this:

... -ext png -ext jpg -ext tif -if "$filename =~ /_wm_/" ...

- Phil
Direct Responses: Write a response