Linux auto orient photos with exif data

Easy when you know it:
for file in *.JPG; do convert $file -auto-orient oriented-$file; done

If you want to apply this to only one image:
convert imageinfile -auto-orient imageoutfile

This entry was posted in Uncategorized. Bookmark the permalink.