Saturday 11 January 2014

Duplicate Finder Software


 Duplicate Finder Software



Hi, I have developed a software to find and merge duplicate files.

The logic behind this application is to search duplicate by comparing their content, then merge the files; by deleting and recreate the files using NTFS hardlink.

So user will not realize any changes to their files and folder yet, freed a lot of disk space.
This is only a prototype and a lot of improvement need to be done.

Note that, merge function only available on NTFS local disk.



I am using C# for this application. So, you will need to install .NET 4.0 to use it.

Windows API used:
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)]
        static extern int CreateHardLink(string lpFileName, string lpExistingFileName, IntPtr lpSecurityAttributes);


You can use hashing function to search for duplicates, or you compare it byte by byte: StackOverflow

Download demo here

No comments:

Post a Comment