Shell script to rotate a bunch of Images

by Amit



#!/bin/bash
# Uses the 'convert' utility to rotate a bunch of images via some specified angle in
# clockwise
# By Amit K.Saha

# Angle is to be supplied as a command line parameter
#./Rotate.sh 90

for i in *.png
do
convert -rotate $1 $i $i
done

Advertisements