I am looking for a command line lossless jpeg compression tool which will have the following functionality:
- be a command line tool with no gui interface
- I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
- the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)
Also it is not really important, it would be nice if the tool could
- give a report (how much space per file / in total was saved)
- could resize images as well
- should properly handle big amount of files (> 1000)
- remove metadata