Hi, Pádraig and Eike.

On Jul 28 2006, Pádraig Brady wrote:
> Eike Sauer wrote:
> > This program really should have some progress indication when
> > searching, like a progress bar or filling (and showing) the list of
> > finds or both. I had to ask 'top' if the app is still alive... :o)
> 
> Well a % complete would be difficult/impossible, as we can't easily
> determine how much work we have to do.

Well, I see that you fiddle with find (looked via top/ps) to see which
files have the same content as others.

I don't know exactly how you feed those to md5sum, but one thing that
would give the user an *approximate* percentage idea would be to see how
many files have already been md5sum'ed.

I don't know (internally---I'm too lazy to read the code right now) how
you decide which ones have the same contents (perhaps using a
hash/dictionary keyed by the md5sum of the file?) but wouldn't this
work?

Or, at least, something more or less like what I described above. I'm
just brainstorming here... :-)


Anyway, thank you very much for your efforts, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to