This question already has an answer here:
Fairly straight forward question and a fairly common scenario I would imagine. I have taken photos with iPhone and digital camera of the same subjects and locations, most of these groups of photos have been put in folders like "Holiday in Dorset" or "Waterpark".
Is there a way to merge location data from iPhone photos (img*.jpg) to digital camera photos (DSC*.jpg) by folder? I have '000s of photos to do this with, so need to do this in as automated a way as possible. Happy to write batch scripts, just need to know best way to approach the problem and what tools to use.