A very fast duplicate file finder.
You can check the ExampleApplication project!
await foreach (var duplicateFileGroup in DuplicaAnalyzer.GetDuplicateFileGroupsAsync(@"E:\path\to\your\mom"))
{
Console.WriteLine($"{duplicateFileGroup.OriginalFile.FullName}");
Console.WriteLine($"{duplicateFileGroup.DuplicateFiles.Count} duplicate files found.");
foreach (var duplicateFile in duplicateFileGroup.DuplicateFiles)
{
Console.WriteLine($" -{duplicateFile.FullName}");
}
Console.WriteLine();
}
- Use different buffer sizes based on file size. (1 MB buffer seems to be optimal but 512 KB buffer seems to be working better with smaller files.)