August 21, 2022 · Don't Forget linux

Automatically convert all the PNG/JPG files in directory into webp

Install imagemagick and GNU parallel.

parallel convert {} {.}.webp ::: *.@(jpg|png)