Using Exiftool to bulk rotate astro images (cr2, jpg, etc.)

Опубликовано: 19 Июль 2026
на канале: Naztronomy
1,299
15

I got a new Canon T5i and I forgot to switch the setting to never auto-rotate my images. Woops!

It's happen to me in the past and I used Exiftool to rotate all the images in bulk. This works with pretty much any picture format. I was working with Canon RAW files (CR2) and there's not really as easy to do this without using exif tool so I thought I'd make a quick video on how to get that done.

Download exiftool here: https://exiftool.org/

Chapters:
0:00 Intro
0:35 Download & Install Exiftool
1:00 Initial use of Exiftool to read the image files
1:55 Change orientation for all images in a folder
2:35 Conclusion

Some tips from u/StarGeekSpaceNerd on Reddit:

-- If you want to just overwrite the original instead of creating a copy, add the the following flag: -overwrite_original

-- To check if file is already horizontal to prevent unnecessary orientation switching:

exiftool -if "$Orientation!~/Horizontal/" -Orientation=Horizontal /path/to/files/

-- If used on Mac/Linux/Windows Powershell, change the double quotes to single quotes.

Have questions? Ask below! Be sure to check out my #Astrophotography at https://www.Naztronomy.com !

#Astronomy #Exiftool
-----------
Visit my website: https://www.Naztronomy.com
Subscribe on YouTube:    / naztronomy  
Support me on Patreon:   / nazmus  
Follow me on Twitter:   / naztronomy  
Follow me on Facebook:   / nazmus.linux  
Check out my Instagram:   / naztronomy