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.
i.e.
- Main/Games/troy.php
- Main/Games/Child Games/troy.php
- Main/Games/Sports/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 am using Windows SP2 and PHP. I need only search result no matter how it is provided. Anything like Command prompt, PHP logic, javascript logic, or any software giving results.
I have gone through some questions but they are not helpful to me.