I have a large set of photos taken with both JPG and RAW which are named in wrong order since the camera counter reset after about half of them. While going through the JPG files I turned some of them CW or CCW. Unfortunately this altered the timestamp of the photos.
What I want to do is to use the timestamp of the RAW file to create a new name for both the JPG and the RAW file since the RAW file timestamp is unaltered.
For example, I have
DSC_250.jpg (taken 05:00, not true) DSC_250.nef (taken 01:00, correct time) DSC_100.jpg (taken 03:00, correct time) DSC_100.nef (taken 03:00, correct time)
And want this to be:
DSC_001.jpg (taken 01:00) DSC_001.nef (taken 01:00) DSC_002.jpg (taken 03:00) DSC_002.nef (taken 03:00)
How would I go about doing this?