exiftools - manage exif through command line
Installation
sudo apt install libimage-exiftool-perl
Documentation
- https://sno.phy.queensu.ca/~phil/exiftool/
- https://sno.phy.queensu.ca/~phil/exiftool/faq.html
Copy exif
tags
exiftool -TagsFromFile fromImage.jpg toImage.jpg
If you don't want to copy the orientation field, then run:
exiftool -TagsFromFile a.crw --Orientation a.jpg
See https://sno.phy.queensu.ca/~phil/exiftool/faq.html#Q8 for more details.