How to compare contents of two folders (directories)?

  • Thread starter Thread starter Clueless in Seattle
  • Start date Start date
C

Clueless in Seattle

I'm transferring a bunch of files from multiple computers onto the
hard drive of a single computer via a peer-to-peer network.

I'd like to be able to check to make sure every file in the directory
on the source computer has been copied successfully over to the
directory on the destination computer.

Does Windows Explorer OR Windows 2K have a utility that will compare
two directories, and then tag the filenames of the files that do not
appear in the directory of the other computer?

And then, allow you to automatically copy over the missing files?

Back in the days of DOS there was a great little utility called XTree
that would do exactly that. And a guy named Kim Henkel created a
Windows clone of Ztree called Ztree, but I don't know how to make it
work across a network.

Will in Seattle
a.k.a. "Clueless"
 
Clueless in Seattle said:
I'm transferring a bunch of files from multiple computers onto the
hard drive of a single computer via a peer-to-peer network.

I'd like to be able to check to make sure every file in the directory
on the source computer has been copied successfully over to the
directory on the destination computer.

Does Windows Explorer OR Windows 2K have a utility that will compare
two directories, and then tag the filenames of the files that do not
appear in the directory of the other computer?

And then, allow you to automatically copy over the missing files?

Back in the days of DOS there was a great little utility called XTree
that would do exactly that. And a guy named Kim Henkel created a
Windows clone of Ztree called Ztree, but I don't know how to make it
work across a network.

Will in Seattle
a.k.a. "Clueless"

You can run this simple command from the command prompt. It will
list all missing files.

xcopy /L "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
or perhaps
xcopy /L /d "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
or maybe
xcopy /L /s "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
 
Robocopy or SyncToy should do the trick. Search for them on the
Microsoft site.

John
 
Back
Top