CompareMe is an application that finds duplicate files in a specified directory. This is used to easily delete duplicate files. CompareMe is written in Java utilizing JavaFX. This application was originally created to find duplicate picture files in a directory, however the comparison method should work with all files.
CompareMe generates a hash for each file in the given directory. Files with the same hash (hash collisions) will be marked as a duplicate. Duplicate hashes imply that there is a duplicate file. Stronger hash functions may take more time to compute, but will also decrease the chance of finding an incorrect/false collision. Using the Second Check option can also mitigate false collisions.
CompareMe is powered by Java and written using Oracle JDK 1.8.0_111. JRE 8 or higher is required to run this application. This application may not work with OpenJDK due to the usage of JavaFX. Oracle JDK implements some JavaFX items that are not available in OpenJDK.
- Import CompareMe as a project in IntelliJ.
- Go to Build > Build Artifacts
- Select Build
- Build output should be located at
/out/artifacts/CompareMe/
- Run
CompareMe.jar
- Select a directory using the directory chooser
- Select applicable options
- Select "Start Comparing!"
- CompareMe will continue based on the options selected
- If Auto Delete is selected, then duplicates will automatically be deleted
- If Auto Delete is not selected, the manual deleter will show up. Simply check off and delete any files
Recursive
- Checks for all files in all sub-directories of the selected directorySecond Check
- Prevents false collisions by doing a second check over all the files using byte-by-byte comparisons.