Since a directory can contain lots of files and it takes a little while to calculate MD5 hash especially for bigger files, the UI still needs to be responsive. The utility is a simple WPF application using SQLite database to store list of file information and then figure out duplicates. The utility should also provide the option to remove the duplicate files based on the user selection. Since MD5 scans the bytes of the file, this ensures that two different files with even same size and same file time will generate two different hash files. I then query database to extract the list of files with same hash value. The utility scans the directory and populate MD5 for each file and saves in SQLite database. I used the idea of using MD5 hash for each file which will be unique (most of the time) for each unique file. Similarly, two files can be of same size but completely different. Secondly, I could not use file time because two different files can have same time. ![]() If you just use copy/paste approach the duplicate will not be detected. The reason for that is that in a directory you could have single file with two different names. Main requirement was that it should not be based on the name of a file. I needed a simple reliable utility which could basically find duplicate files in a directory. Download DuplicateFileDetector_x86.zip - 4 MB.Download DuplicateFileDetector_圆4.zip - 4 MB.Download DuplicateFileDetectorMVVM_exe.zip - 28.4 KBĭownload source - 26.2 KB Old Source Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |