[CentOS] recursively find duplicate filenames

Wed Jan 5 11:23:00 UTC 2011
Pintér Tibor <tibyke at tibyke.hu>

On 01/05/2011 12:15 PM, S Mathias wrote:
> find duplicate filenames in a folder
> find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'
> 
> find duplicate filenames in a folder recursively
> ? how? 

eg:

/foo/bar.txt
/foo2/bar.txt
/foo3/bar.txt

t