Skip to content

Instantly share code, notes, and snippets.

@random-robbie

random-robbie/convert.sh

Last active Jun 8, 2020
Embed
What would you like to do?
Convert webp to png
#!/bin/bash
for picture in *.webp ; do
new=$(echo $picture | sed 's/\.[^.]*$//')
dwebp $picture -o $new.png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.