Browse Source

Added image autorotate script

Samuel W. Flint 8 năm trước cách đây
mục cha
commit
c7eda952aa
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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}