[Originally posted by exiftool on 2007-01-17 00:00:39-08]The
-w option is for writing output
text. Use the
-o option to set the output
image file name.
So I think this may do what you want:
exiftool -r -ext jpg -o A%.5c.jpg .
This command will rewrite all JPEG images in directories rooted at the
current directory, effectively copying them, although not the most
efficient way to do this. Note the '.' after the '%' character, which
causes the first file to be named "A00000.jpg" instead
of "A.jpg". (Either way, files after this are named "A00001.jpg",
"A00002.jpg", etc.)
A more efficient method would be this:
exiftool -r -ext jpg -filename=./A%.5c .
which renames the files without reprocessing them. Unfortunately
though, this command
does not leave a copy of the image
in the original location, which is what I think you wanted. So you
are stuck doing it with the first command above.
- Phil