Skip to content

Instantly share code, notes, and snippets.

@yaroslav
Created March 25, 2017 20:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaroslav/b9be7edb8c162812223156c0ced67019 to your computer and use it in GitHub Desktop.
Save yaroslav/b9be7edb8c162812223156c0ced67019 to your computer and use it in GitHub Desktop.
A script to run guetzli recursively for all JPEG files in current directory and lower
#!/bin/bash
find . -name '*.jp*' -print0 | xargs -0 -I{} -t guetzli --quality 90 {} {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment