summaryrefslogtreecommitdiff
path: root/jpegrotate
diff options
context:
space:
mode:
Diffstat (limited to 'jpegrotate')
-rwxr-xr-xjpegrotate10
1 files changed, 0 insertions, 10 deletions
diff --git a/jpegrotate b/jpegrotate
deleted file mode 100755
index ee7c3a8..0000000
--- a/jpegrotate
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# src http://www.zmatt.net/files/jpegrotate
-
-for file in $*
-do
- echo $file
- rotate=`jhead $file |grep '^Orientation : rotate [0-9]\+$' | sed 's/^Orientation : /-/'`;
- jpegtran $rotate -optimize -copy all $file >$file.tmp && mv $file.tmp $file
-done
-