Copying EXIF metadata between files

This tip might be useful for those cases when an editor ignores a photo meta-information (which seems fairly common in phones).

$ exiftool -TagsFromFile source.jpg target.jpg

or

$ exiv2 ex -e e source.jpg  # Extraction. Also $ exiftool -exif -b source.jpg > source.exv
$ mv source.exv target.exv  # Names must match
$ exiv2 in -i e target.jpg  # Injection