This is not your case personally, of course, and won't work for Windows or Android, but it may well be useful to other users reading your publication.
There is open source software for Linux that solve exactly the issue you wrote about.
https://github.com/dennisrazumovsky/precizer
precizer is a CLI application designed to check up the integrity of files after synchronization. The program recursively traverses directories and creates a database of files and their checksums, followed by a quick comparison.
precizer is focused on work with gigantic file systems. With the program it is possible to find synchronization errors by comparing data with files and their checksums from different sources. Or it can be used to crawling historical changes by comparing databases from the same sources over different times.
SIMPLE EXAMPLE
Assuming there are two hosts with large disks and identical contents mounted in /mnt1 and /mnt2 accordingly. The general task is to check whether the content is absolutely identical or whether there are differences.
1.Run the program on the first machine with host name, for example “host1”:
precizer --progress /mnt1
As a result of the program running all directories starting from /mnt1 will be recursively traversed and the host1.db database will be created in the current directory. The --progress option visualizes progress and will show the amount of space and the number of files being examined.
2.Run the program on a second machine with a host name, for example host2:
precizer --progress /mnt2
As a result, the host2.db database will be created in the current directory.
3.Copy the files with the host1.db and host2.db databases to one of the machines and run the program with the appropriate parameters to compare the databases:
precizer --compare host1.db host2.db
The following information will be displayed on the screen:
- Which files are missing on host1 but present on host2 and vice versa.
- For which files, present on both hosts, the checksums do NOT match.