Last active
May 19, 2017 05:08
-
-
Save dkrnl/4645bff5b6768109124fabb197d6c771 to your computer and use it in GitHub Desktop.
jpegtran all jpeg files in directroy
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 | |
find . -name "*.jpg" -type f -exec jpegtran -verbose -copy none -optimize -outfile {} {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment