I am doing clean up in my project. There are some modules in project which are being renamed or newly created or copied directly. In that process I have directly made copied renamed directory or created new directory. And now I want to delete old directory files. So I want to all files with their path which are having same name. (count > 2). There are 500+ of that type of files. That can be css, tpl, php or js files.
- Main/Games/Child Games/troy.php
If search is done on Main directory then search should return all 3 files and their paths.
So question is - How to find duplicate files i.e. with same name that exist in same parent directory?
I have gone through some questions but they are not helpful to me.