jpegrescan

Losslessly shrink JPEG files by removing unnecessary data

brewmacoslinux
Try with needOr install directly
Source

About

Losslessly shrink any JPEG file

Commands

jpegrescan

Examples

Compress a single JPEG file$ jpegrescan input.jpg output.jpg
Compress JPEG in-place with default settings$ jpegrescan -outfile output.jpg input.jpg
Compress with quality preservation and verbose output$ jpegrescan -v input.jpg output.jpg