Dear all,
I am new at this and am getting stuck already. I can't find what I'm looking for, so I could use some help... Here's what I want to achieve:
I have a set of photographs with sometimes the same filenames, but with different extensions (jpg and nef; copies of the same photo):
DSC_001.jpg
DSC_002.jpg
DSC_002.nef
DSC_003.jpg
DSC_003.nef
DSC_004.jpg
DSC_005.jpg
All files need to get a new name, based on date and number (20171221_001, 20171221_002, etc). But I want the different file types to receive the same names. I am stuck and only get the following unique names:
20171221_001.jpg
20171221_002.jpg
20171221_003.nef
20171221_004.jpg
20171221_005.nef
20171221_006.jpg
20171221_007.jpg
whereas it should be:
20171221_001.jpg
20171221_002.jpg
20171221_002.nef
20171221_003.jpg
20171221_003.nef
20171221_004.jpg
20171221_005.jpg
There must be an easy trick for this...but I can't find it. I hope anyone knows how to...?
Regards,
Richard