Is there an out of the box way to compare two folders in Windows 7? The comparison should show the differences in terms of subdirectory folders and subdirectory files.
I'm not a powershell pro, but this would give you which files and folders exist in one folder but not the other.
You can also leave out the filtering of course, and get:
Dunno if this is what you are looking for, but maybe it gives you a start :)
To compare content use:
There is a good unix tool named diff, which you can install from cygwin.
On win, there is a gui tool named beyondCompare.
You can make a batch file that creates two temporary text files that contain the directory structure, then compare those temp files with
Something like (and adjust for preferences):
The arguments for the dir command are:
Also, remember to adjust for possible spaces in the arguments
EDIT: as noted in the comments, we'll have to get rid of the directory prefix from the list-of-files text file. This can be done with a batch file such as:
I use FreeCommander (a Norton Commander clone) to do this. It provides "Synchronize Folders" feature that allows to compare two folders and optionally synchronize them. The compare options include "By CRC", "By date", "By Content", Sub Folders and mane more. It is very powerful and has helped me many time to perfectly do the very same thing you asked.
Generally, FreeCommander is very powerful tool. the other feature that I use often is search withing files and folders.