First of all; I'm not necessarily looking for Delphi code, drink it in any way.
I searched (especially here) and found out a little about those who are looking for ways to compare with directories (inclusive), although they used byte byte methods. Secondly, I'm not looking for diffftool, I'm just "looking" for a way to find files that do not match, and, just as importantly, files that are in one directory but not in another and vice versa.
More specifically: I have one directory (backup folder) that I constantly update with FindFirstChangeNotification. Although for the first time I need to copy all the files, and I also need to check the backup directory for the original when the applications are launched (in case something happened when the application was not running, or FindFirstChangeNotification failed to intercept the file). To solve this problem, I am going to create a CRC list for backup files, and then run through the source directory calculating CRC for each file, and finally compare two CRCs. Then somehow find the files that are in one directory and not the others (again, vice versa).
Here's the question : Is this the fastest way? If so, how would (roughly) complete the task?
source share