I understand, but trying to build some checks to easily verify if a copy job has done it's work successfully.
Now I only test the script with 1 folder including subfolders and files, but there is much more to come.
in total many TB's and millions of files.
Currently I export the source folder structure to a csv file and then manually check each folder to which destination folder is should be copied to.
The outcome is a csv file which many source and destination folders.
So many files get a different destination folder.
A mistake is very easily made, so I need to build in some checks, besides the robocopy log file, So I can check that all files were included during the robocopy execution.
One of the most important checks should be that all files from the source location should be somewhere on the destination location. (only in a different folder)
When I check with the windows explorer to see the properties of a folder it counts the total size and the number of files.
In this case there is a mismatch in the number of files and I would like to easily find which files are not copied.