Skip to content

Instantly share code, notes, and snippets.

Created Apr 11, 2019
What would you like to do?
webp generator bat file for windows
@echo off
for /f "delims=" %%i in ('dir /a-d/b/s *.png *.jpg') do cwebp -q 80 "%%i" -o "%%~pi%%~ni.webp"
pause >nul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment