Created
November 8, 2017 22:13
-
-
Save CarpeNecopinum/673367638608a99a58c0f72ce68075b4 to your computer and use it in GitHub Desktop.
Resizing a folder of photos with imagick in bash
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
#!/bin/bash | |
mkdir small | |
for img in *.jpg | |
do | |
convert $img -quality 80 -resize 1920x1080 small/$img | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment