Because I always spend 20 minutes googling it

apt-get update && apt-get install libimage-exiftool-perl
find /var/www -type f -iname *.jpg -exec exiftool -all= {} \;