Patrick Useldinger a écrit :
On a more constructive level, I have written a first version of the program. It's only slightly optimised but appears to be quite fast already. It will also print stats at the end which show the potential gain as well as the number of bytes read vs. the total number of bytes in the potentially identical files (i.e. having the same length).

Maybe it's clearer now what my intention was.

You can find it at: http://www.homepages.lu/pu/finddups.txt (the webserver at vo would not serve finddups.py).

Everybody, please feel free to try it and to give me your feedback. Of course, I would not recommend running it on a production machine yet, of course.

Thanks.
_______________________________________________
Lilux-help mailing list
Lilux-help@lilux.lu
http://lilux.lu/mailman/listinfo/lilux-help
Could you please urgently add this comment, as otherwise this piece of code could be stolen by some proprietary software company ?
one line to give the program's name and an idea of what it does.
Copyright (C) 2005 Patrick Useldinger

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-- 
Brent Frère

Private e-mail:  Brent@BFrere.net

Postal address: 5, rue de Mamer
                L-8280 Kehlen
                Grand-Duchy of Luxembourg
                European Union

Mobile: +352-021/29.05.98
Fax:    +352-26.30.05.96
Home:   +352-307.341
URL:    http://BFrere.net

If you have problem with my digital signature, please install the appropriate authority certificate by browsing https://www.cacert.org/certs/root.crt.