Replace EXIF info with "TagsFromFile"

Started by Dekatze, June 06, 2020, 09:39:20 AM

Previous topic - Next topic

Dekatze

While using Luminar4 I lost my EXIF data in the .PSD files, not really nice from Luminar4.
Anyway, fortunately I still have the .DNG files with EXIF information.

Fortunately, I can replace the EXIF with the following terminal command.
exiftool -TagsFromFile /Users/Management/Desktop/dng/20200601_18.01.34.dng /Users/Management/Desktop/psd/20200601_18.01.34.psd

Since it is 360 photos, it is quite a job to do that individually.
I would like to do that in batch, is that possible?

StarGeek

Are they all in the same place?  If so
exiftool -TagsFromFile %d/%f.dng /Users/Management/Desktop/psd/

I should point out that this and your original command replace ALL tag in the psd files, not just EXIF.  If you want to limit it to just the EXIF group, add -EXIF:All after the %d/%f.dng
* 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).

Dekatze

Awesome, works perfectly, thanks.

Was in two folders, 1 DNG folder and 1 PSD folder, but of course it was a little effort to make 1 folder.

StarGeek

Using two different folders, all you would have to do is replace the %d with the path to the DNG 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).