This website works better with JavaScript
Home
Explore
Help
Sign In
swflint
/
bin-files
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
1f6e1db57e
Branches
Tags
master
bin-files
/
autorotate-image
autorotate-image
86 B
History
Raw
1
2
3
4
5
6
7
#!/bin/sh
OLD=$1
NEW=${OLD}-new
convert -auto-orient ${OLD} ${NEW}
mv ${NEW} ${OLD}