Skip to content

shreeharshas/DuplicateFilesRemover

Repository files navigation

General Info:

My dad wanted to clear some disk space on his computer and found that there were some duplicate folders at random locations occuping unnecesary disk space.

Since there were too many files and they were distributed randomly, he didn't want to manually check them one by one.
He also wanted to have control over the files to be deleted because he didn't want the program to simple delete them without running them by him.

So I wrote a simple program to quickly group the files which were the same and also show me all of them as options for me to choose before it removed them.

This is a single-screen app which looks as follows:

Main Screen

Binary file

DuplicateFileManager can be downloaded from here:
https://github.com/shreeharshas/DuplicateFilesRemover/releases/tag/v0.2-beta

Usage Info:

This app is simple and self explanatory, verbose explanation as below:

--> Select the folder to scan
--> Click refresh to scan the folder
--> Wait till the blank section fills up with the files list or any message
--> Double click on the file names to preview in Windows explorer
--> Click Select Duplicate files button to select all files but the first in every section
--> Click Delete Selected Files button to remove the files

Technical Details:

The main logic behind this is to generate hashcodes based on the file contents and comparing them which is essentially a comparision of the files themselves.
Files with the same hashcodes are grouped under the header having the hashcode value itself as its text.
I have currently used md5 hashing scheme to check for same-ness.

System Requirements

Manual tests executed successfully on my machine with following specs:
OS - Microsoft Windows 10
Development framework - Microsoft Dotnet framework version 4.0

Warning:

  • #f03c15 The files are not moved to the recycle bin so make sure you double-check the files before deleting.
  • #c5f015 This is a beta version and is to be used at your own risk.
  • #c5f015 Relatively bigger files such as videos may take longer time to be processed.

Terms and Conditions:

Use this app at your own risk - I do not guarantee anything and do not want to be legally bound whatsoever if it results in any kind of damage to your machine.

Known Issues:

Visit bug Something isn't working

Future Enhancements:

Visit enhancement New feature or request

I'm open to suggestions on these topics:

Visit help wanted Extra attention is needed

About

Finds duplicate files and displays them for you to delete

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages