To batch scale images in linux, install image magick and then:
mogrify -scale 50% *.jpg
Done and done.