Created
May 16, 2017 17:20
-
-
Save Wilker/64f930d882c4d8785a565955ab5f75a9 to your computer and use it in GitHub Desktop.
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
mkdir ./converted/ | |
for file in ./*.jpeg ; do | |
convert "$file" -rotate $1 "${file%.JPG}"_rotated.JPG | |
done | |
mv *.*rotated* ./converted/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment