Hi Norbert,<br><br>Much faster indeed. It's instantaneous versus 35 sec for the md5sum. Thanks for the tip.<br><br>Regards,<br>Joachim.<br><br><br><div class="gmail_quote">Le 7 juin 2011 22:53, Norbert Thiebaud <span dir="ltr"><<a href="mailto:nthiebaud@gmail.com">nthiebaud@gmail.com</a>></span> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/6/7 Joachim Trémouroux <<a href="mailto:joachim.tremouroux@gmail.com">joachim.tremouroux@gmail.com</a>>:<br>
<div class="im">> Hi everybody,<br>
><br>
> I have made some stats to check the number of duplicate icons in the<br>
> clone/artwork directory:<br>
><br>
> $ find . -name "*.png" -exec md5sum {} \; > /tmp/icon_list.txt<br>
><br>
<br>
</div>Nice work...<br>
<br>
you could also use : git ls-tree -r HEAD<br>
that will give you both the filename and the sha1 of the blob at once<br>
and probably significantly faster than running md5sum on each<br>
<font color="#888888"><br>
Norbert<br>
</font></blockquote></div><br>