"Incidentally, I use flphoto to sort through pictures -- mainly just to turn them upright. One of its unusual merits is that it can losslessly rotate the pictures. That is, instead of reading and decompressing a jpeg, rotating it, and then re-encoding a new jpeg, it operates on the compressed jpeg data directly. Oddly, flphoto isn't in the Debian repository, so it's one of very few programs on my systems that I had to build myself."
apt-get install imagemagick
You can then use mogrify to rotate your images, for example:
mogrify -compress lossless -rotate +90 myphoto.jpg
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds