As requested by sdog, this is how I modify all my pictures in a row using the command line :
I use the mogrify command that comes with ImageMagick.
First I copy all my original pics on a new folder and then I type the following command line :
$ mogrify -resize 1024x768 *
This keeps image ratio ! 😉
Of course you can define any size you want.