Optimise JPEG images, stripping all non-essential data

jpegoptim

jpegoptim --strip-all {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}

click the source code to copy install jpegoptim on any operating system with command-not-found.com