Explorar o código

Added image autorotate script

Samuel W. Flint %!s(int64=8) %!d(string=hai) anos
pai
achega
c7eda952aa
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      autorotate-image

+ 7 - 0
autorotate-image

@@ -0,0 +1,7 @@
+#!/bin/zsh -f
+
+OLD=$1
+NEW=${OLD}-new
+
+convert -auto-orient ${OLD} ${NEW}
+mv ${NEW} ${OLD}