Batch copy all exif data from JPG to DNG for multiple images

Started by am3ncorn3r, May 08, 2018, 08:32:39 PM

Previous topic - Next topic

am3ncorn3r

Is this possible? I have about 30 or so images I need to copy all the exif data from the JPG's to the DNG files. When doing this on my Mac I can copy the entire string exiftool -tagsfromfile Image01.jpg image02.dng then run and then paste this string in the next line but its tedious to have to click and delete each image number to go copy the next image. I was hoping for a way to tell exiftool to look in the folder then copy all exif data from the jpg images and paste it on the cooresponding DNG images.

StarGeek

What are the names of the files.  If you're trying to copy from Image01.jpg to image02.dng (different numbers), then that would be hard.  If it's from Image01.jpg to image01.dng, then that's much easier.  Something like this copying example.

exiftool -ext dng -tagsfromfile %d%f.jpg /path/to/target/files/
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

am3ncorn3r

Yes sorry it would be image01.jpg to image01.dng and so forth down the line.

popotato

Following this guide i have successfully copied the exif data from .mov to .mp4 files on my mac, but how do I copy the location and camera information as well in batch?

Phil Harvey

That command should already copy EXIF GPS location and camera information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

popotato

I tried but i dont know why when I import the files to the mac Photos App it does not show any camera or geotag information, and due to time zone differences the date and time is also different from the original. Does the photos app use another set of information?

Phil Harvey

Sorry, I can't answer about which software uses what metdata.  That is a question for the other software's forum.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).