Skip to content

Instantly share code, notes, and snippets.

@NicolasEhrhardt
Created May 14, 2014 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NicolasEhrhardt/061cc87f1d1c03cf3f81 to your computer and use it in GitHub Desktop.
Save NicolasEhrhardt/061cc87f1d1c03cf3f81 to your computer and use it in GitHub Desktop.
Images operations on folder
#/bin/bash
input=$1
output=$2
mkdir -p $output
for line in $(ls $1)
do
convert $input/$line -rotate -90 $ouput/$line
done
@NicolasEhrhardt
Copy link
Author

Requires imagemagick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment