[Lilux-help] Duplicate files

Patrick Useldinger pu at vo.lu
Tue Feb 22 18:02:22 CET 2005


Brent Frère wrote:

> Shame on me: I don't know this strange language...

It looks more natural to me than Perl. It's clean and easy, and fairly 
common now on Unix platforms. And it's the only one I am currently 
fluent in ;-)

> Other implementation (less performant): 
> http://search.cpan.org/src/ANDK/Perl-Repository-APC-1.132/eg/trimtrees.pl

I'll look into it.

> I think the head movement problem might be solved by first building a 
> list of file length (the find command processes the files on a directory 
> by directory basis, so very efficient in this case), before considering 
> computation of md5sum for files matching in size...

That's what I am doing already. Head movement happens when it really 
compares files.

-pu



More information about the Lilux-help mailing list