Comparing files and directories after a file copy
Posted on 2007-04-11
I am currently using batch files to back up and restore data to our systems during rollouts and migrations. Source and destination OS is Windows XP Pro.
I need to find a way to check the source and destination to make sure they match afterwards to be sure all files are copied. I've seen issues where the hard drive is failing and it didn't copy all of the data and i didn't realize it because the batch file started copying the next set of data (like "favorites").
I've tried windiff, fc, and so on but nothing that is automated enough just to show a results screen if they are different sizes. Example: the local mydocs folder has 5000 files totaling 3.5GB and the server has only 4000 files totaling 2.3GB... i want to see the files and folders in a summary that were NOT copied.
Any ideas on this? BTW: i've gone through the XP and VB sections and have not been able to find a solution that matches what I need.