Created
February 19, 2019 18:13
-
-
Save TonyVlcek/6a1de22c82f0cb577f484ea4c00ee5b9 to your computer and use it in GitHub Desktop.
Find and shrink images of given name and size constraint. Run it in a very low priority mode.
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
nice -n 20 sh -c 'find -name "IMG_00.jpg" -size +1M | xargs mogrify -resize 600x' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment