Skip to content

Instantly share code, notes, and snippets.

View iqbalfasri's full-sized avatar
🤓
🙃 🛵

Muhammad Iqbal Fasri iqbalfasri

🤓
🙃 🛵
View GitHub Profile
@iqbalfasri
iqbalfasri / webp-convert-directory.sh
Created July 2, 2021 07:56 — forked from tabrindle/webp-convert-directory.sh
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)