Find duplicated files

Mike Klinke lsomike at futzin.com
Mon Oct 3 13:14:11 UTC 2005


On Sunday 02 October 2005 22:46, Fajar Priyanto wrote:

> Is there anyway I can now which files are duplicated in some
> directories?


Change to the directory tree you're interested in and try this ( all 
on one line ) 

find ./ -name "*" -print | xargs -i basename {} | 
sort | uniq -d | xargs -i find ./ -name {} -print


Regards, Mike Klinke




More information about the fedora-list mailing list