Explorar el Código

Added image autorotate script

Samuel W. Flint hace 8 años
padre
commit
c7eda952aa
Se han modificado 1 ficheros con 7 adiciones y 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}