This file contains hidden or 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/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 |