Created
July 11, 2017 15:53
-
-
Save Enelar/674b175dcc0440b8f0c5df79d90589ba to your computer and use it in GitHub Desktop.
Shrink humongous JPG files in directory recursive
This file contains 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
find | egrep \.jp?g? | pv -e -p -t | parallel xargs -n1 mogrify -resize '1080x1080>' -quality '80>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment