[CentOS] recursively find duplicate filenames
Dominik Zyla
gavroche at gavroche.pl
Wed Jan 5 13:11:09 UTC 2011
On Wed, Jan 05, 2011 at 03:15:03AM -0800, 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?
What do you mean - duplicate? Duplicate by what? Name? Content?
--
Dominik Zyla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20110105/a883c0b3/attachment.sig>
More information about the CentOS
mailing list