the project is a multi-thread application similar to the rdfind program in Linux, which identifies duplicate files and deletes them, and displays the list of all checked files, types of checked and deleted files as an output.
- dentifies duplicate files and deletes them
- Thread-Safe Updates
calculateFileHash
: Function to calculate SHA-1 hash of a file.checkAndDeleteDuplicates
: Function to check for duplicate files and delete them.createLogFile
: Function to create a log file for each folders.processFiles
: Function to check file in directory and and checks itdisplayMonitoringInfo
: Display information about each type of file format.
In the next updates
- Clone the repository to your local machine.
- Compile and run the code.
- Choose the directory you want to analyze.
- <openssl/sha.h>: SHA-1 (Secure Hash Algorithm) is a cryptographic hash function. you should installed on your system.