Image-ExifTool - Re: Checking image width then rename the filw as imagewidth_%f.%e

Posted on Mon Jul 23 23:37:39 2007 by exiftool in response to 5802 (See the whole thread of 4)
Re: Checking image width then rename the filw as imagewidth_%f.%e
Close, but '=' is used to assign the value of a tag. You actually want to copy the value from another tag (ImageWidth), so you should use '<' instead. ie)

exiftool -if '$imagewidth<9999' -q -filename'<$imagewidth'_%f.%e -r .

I have also taken out the -t and -S because these are only meaningful when reading information.

Read the "COPYING EXAMPLES" section in the application documentation for more examples of copying tags.

- Phil
Direct Responses: 5804 | Write a response