mogrify is the tool you are looking for – it comes with the great imagemagick package and it’s designed especially to be used for bulk operations.
To resize all images in current directory to 600 pixels wide (width):

% mogrify -resize 600 *

The same but 600 height:

% mogrify -resize x600 *