Converting webp files to png via terminal

I believe you are familiar with Dribbble. Often enough I download images to use as a moodboard but unfortunately they come in webp format and ubuntu doesn’t show thumbnails by default. I figured I could just convert all of them to png instead of installing more stuff. I used ffmpeg

find ./ -name "\*.webp" -exec ffmpeg -i {} {}.png \;

You end up with weird names like handle-bars.webp.png but I can live with that.

Then i removed all the .webp files in that directory

  rm *.webp

Links:


End of story