How is it possible to list duplicate file names on a Linux system
- ignoring the case
- including all subdirectories
Files should not be compared by their content but only by their names. The output should be a list of file names including the path, so that one can run further commands on these files.
Lets assume we have
ls -1R /tmp/ foo BAR barfoo a/BAr a/b/bar c/bAr
The output of the filter/find script should be
/tmp/BAR /tmp/a/BAr /tmp/a/b/bar /tmp/c/bAr