#!/bin/sh
if [ "$1" = "" ]; then
  echo Usage: $0 filename.jpg
  exit
fi

convert -rotate 270 $1 $1.rt
mv $1.rt $1
