summaryrefslogtreecommitdiff
path: root/jpegrotate
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-14 17:30:30 +0200
committerPatrick Simianer <p@simianer.de>2016-04-14 17:30:30 +0200
commit3c1b8d5c8947bf0aa3e929c21f59eaf06aba33af (patch)
tree71111c40dd00a4739c53413f5926a26bbe901ead /jpegrotate
parent2c01777eb98ac7649d24e1a60a94393892b7e7af (diff)
more general monitor_soft_raid
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
-