Posted on 2014-10-012014-10-01 by AdministratorConverting webp to PNG with a bash script to make life easier. #!/bin/bash if [ -f $1 ] then filename=$(basename "$1") echo "Converting file..." dwebp "${filename%.*}".webp -o "${filename%.*}".png else echo "The file does not exist." fi