you got a bunch of photos you wanna resize in width and height … lets say 800px will be enough. Fire up a shell, cd in the directory where your photos stored.
for i in $(ls -1 *.jpg | sed 's/ /;/g'); do convert -resize 800x800 "$(echo $i | sed 's/;/ /g')" "/path/to/destiantion/$(echo $i | sed 's/;/ /g')" done
The “sed ‘s/ /;/g’” is to handle filenames with a blank.