Created
March 18, 2017 15:15
-
-
Save wernersmit/583d6edf12829b1519d37aa3c1fe0e13 to your computer and use it in GitHub Desktop.
Find JPG images in current path upwards, compress to 45% and resample to 72dpi
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/bash | |
find . -name '*.jpg' -exec convert -verbose -strip -interlace Plane -quality 45% -density 72 {} {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment