Skip to content

Instantly share code, notes, and snippets.

View gvasconcelos's full-sized avatar

Gustavo Vasconcelos gvasconcelos

View GitHub Profile
@gvasconcelos
gvasconcelos / do-the-webp.sh
Created September 6, 2018 14:09 — forked from pedrovanzella/do-the-webp.sh
Finds all cbz and cbr files in a directory and converts all files inside to webp
#!/bin/sh
# do-the-webp.sh
# Author: Pedro Vanzella <pedro@pedrovanzella.com>
# Usage: do-the-webp.sh <dir>
# License: BSD
#
# Finds all cbz and cbr files in a directory and converts all files inside to
# webp with quality 80, which should yield a 30% compression with no noticeably
# loss of quality