$known_files{$file}{$size} = 1;
Change that to ...
$known_files{$file}{$size}++;
... and you know how many (possible) duplicates you have found.
Alexander
In reply to Re^3: Finding old copies of files
by afoken
in thread Finding old copies of files
by Leitz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |