Skip to content

cemahseri/Duplica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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