Saving all dimension information to a file
Posted: 2016-01-06T03:09:37-07:00
I want save all information of the dimensions of all jpg's in a directory (including sub-directories).
This seem to work: FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080
using standard output like this:
FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 > \dimensions.txt
creates the file dimensions.txt each time as a new file.
and this creates a text file for each jpg, but the files are all across the sub-directories:
FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 > %f.txt
Is there a parameter for sub-directories for identify?
Or any other suggestions?
This seem to work: FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080
using standard output like this:
FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 > \dimensions.txt
creates the file dimensions.txt each time as a new file.
and this creates a text file for each jpg, but the files are all across the sub-directories:
FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 > %f.txt
Is there a parameter for sub-directories for identify?
Or any other suggestions?