To convert ANY recognized graphic files to jpg format: mogrify -format jpeg *.tif To generate scaled GIF thumbnails with a maximum size of 160 pixels of the jpeg files: mogrify -resize 160x160 -format gif *.jpg To generate txt files that contain the jpeg image information: identify -verbose *.jpg identify "%f : %h : %w :%x : %k\n\r" *.jpg identify -format "insert into `catalog` set `height`='%h',`width`='%w', `size`='%b', `colors`='%k', `resolution`='%x', `base`='%t', `ext`='jpg', `submitted`=now(), `photographer`='Sean Shrum';" *.jpg > imagedata.txt Batch file contents: mogrify -format jpeg *.tif mogrify -resize 160x160 -format gif *.jpg identify -format "insert into `catalog` set `height`='%h',`width`='%w', `size`='%b', `colors`='%k', `resolution`='%x', `base`='%t', `submitter`='Manny Vargas', `submitter_email`='jmvargas@prodigy.net.mx', `ext`='jpg', `submission_date`=now(), `user_id`='2';" *.jpg > imagedata.txt move *.jpg ../ move *.gif ../ Batch file to generate associated INI files for JPGs @echo on for %%I in (*.jpg) do call :WORK %%~fI goto :EOF :WORK ::Replace echo w/ whatever you want to do.... identify -format "[details]\r\nheight=%%h\r\nwidth=%%w\r\nresolution=%%x\r\ndepth=%%z\r\ncolors=%%k\r\n" %1 > %~n1.ini goto :EOF