I have a large folder that I am replicating by dfs and I want to check that all files have been replicated correctly.
Currently I am running the following script at both ends.
cd e:\data\shared\ dir /a:-h /b /s > e:\data\shared\result.txt
and then using a text editor to tidy the file before using a diff tool to compare them.
Does anyone know a better way of doing this? Failing that does anyone know how to adapt my script to ignore all the files in the DfsrPrivate folders