I've gone through all the similar questions + installed few command line utilities like duff but with no sucess.
In my Images directory, I have images with same name but with different extensions (jpg & png). I just want to print the filenames of duplicate filename with different extensions. (e.g. foo.jpg & foo.png) Or at least one file name (foo)
So far I tried these methods
find . -exec bash -c 'basename "$0" ".${0##*.}"' {} \; | sort | uniq
find . -type f \( -name "*.jpg" -o -name "*.png" \)
Most of these commands returns me the either Nothing OR All the files OR unique filenames but not the Duplicate ones.