Created
August 9, 2016 11:42
-
-
Save karltaylor/d398cb7f08facf038c075650ef4997c1 to your computer and use it in GitHub Desktop.
Bash script to resize multiple images at once.
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
for i in *.jpg; do convert $i -resize 1472x983 $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To keep aspect ratio all you have to do is declare the width first.