Created
May 14, 2014 04:24
-
-
Save NicolasEhrhardt/061cc87f1d1c03cf3f81 to your computer and use it in GitHub Desktop.
Images operations on folder
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 | |
| input=$1 | |
| output=$2 | |
| mkdir -p $output | |
| for line in $(ls $1) | |
| do | |
| convert $input/$line -rotate -90 $ouput/$line | |
| done |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires
imagemagick