Is it possible in bash machine compress jpg files in subfolders?

In bash (shared-hosting) a machine to compress the jpg files in subfolders, specifying maximum file size, for example 640 × 480 as well, and for example 90%?
Blagodarju!
March 19th 20 at 08:30
2 answers
March 19th 20 at 08:32
find . -name "*.jpg" -exec zdjecie {} \;
thank you!
jpegoptim is not installed on my charade, but found what works the convert and mogrify - they will try! - Selmer_Fisher commented on March 19th 20 at 08:35
March 19th 20 at 08:34
There is, he correctly wrote on the top, but the "command compression" is not specified: jpegoptim -m50 compression at 50% quality. Other keys easily gugliada.
thank you!
jpegoptim is not installed on my charade, but found what works the convert and mogrify - they will try! - Selmer_Fisher commented on March 19th 20 at 08:37
https://klondike-studio.ru/blog/optimizatsiya-kart...
just replace to your - abbey.Steuber commented on March 19th 20 at 08:40

Find more questions by tags bashLinux