compare the contents of two folders that are replicating by dfs
Posted
by
Funky Si
on Server Fault
See other posts from Server Fault
or by Funky Si
Published on 2012-07-05T14:21:30Z
Indexed on
2012/07/05
15:17 UTC
Read the original article
Hit count: 312
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
© Server Fault or respective owner