Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1011 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 1011 Bytes

NuGet Version (Duplica) NuGet Downloads (Duplica)

Duplica

A very fast duplicate file finder.

Usage Example

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();
}

To-Do

  • 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.)