[perl-python] a program to delete duplicate files

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Fri Mar 11 09:35:49 EST 2005


On Fri, 11 Mar 2005 01:12:14 +0100, rumours say that Patrick Useldinger
<pu.news.001 at gmail.com> might have written:

>> On POSIX filesystems, one has also to avoid comparing files having same (st_dev,
>> st_inum), because you know that they are the same file.
>
>I then have a bug here - I consider all files with the same inode equal, 
>  but according to what you say I need to consider the tuple 
>(st_dev,ST_ium). I'll have to fix that for 0.13.

I have a bug here too-- I wrote st_inum meaning st_ino, but that would be quick
to find!

> Thanks ;-)

You are very welcome.
-- 
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...



More information about the Python-list mailing list