I having difficulty locating some macOS software or command line techniques that will look for files that have duplicate file names without regard to the file contents.
Most software I've tried compares several things, including things like file sizes, checksums, modification dates, etc. For my purposes, I do not want to compare anything except the filename.
For example, below could represent the results of a scan of three subfolders that contain several files that have the identical filenames. Assume here that the contents of these files and their metadata (creation dates, etc.) are completely different.
2016 Travel/
Document1.doc
IMG_0001.jpg
Untitled.txt
Work Documents/
IMG_0001.jpg
John Smith.vcf
Untitled.txt
My Downloads/
Document1.doc
John Smith.vcf
Can you recommend some software that will do this sort of thing?