Last active
October 20, 2021 05:04
-
-
Save random-robbie/768c4dc4c90d5d630add54c37c9675f9 to your computer and use it in GitHub Desktop.
Convert webp to png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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