While traveling I used an unfamiliar Linux image downloader which appended the f value of every image to the file extension.
(yes, it was stupid, not to notice. and reasonably stupid to both include this option and hide it on another page)
So I ended up with ~11000 images with suffixes of .NEF + f stop with various numbers of significant digits from 1 to 10
(example Mandalay_dsc650007.NEF5666666)
I need to truncate all these to just the original filename plus the original extension. (Mandalay_dsc650007.NEF)
What complicates this slightly is that there are two kinds of extentions - .NEF and .ARW
I can separate them of course if the truncation requires it.
TIA,
Lew