Just thought it would be nice to have one but my PS skills are not up to task. Anybody can share theirs?
+4
A:
Easy enough to do something simple:
$d1 = get-childitem -path $dir1 -recurse
$d2 = get-childitem -path $dir2 -recurse
compare-object $d1 $d2
More sophistication required depending on the definition of difference.
Richard
2009-09-29 17:06:49
This works... Is it possible to include relative path into comparision results, as well as some output while this is processing?
Sergey Aldoukhov
2009-09-29 18:11:08
Figued it out - add -name to each of get-childitem, you'll get necessary results faster and you'll see the progress
Sergey Aldoukhov
2009-09-29 20:57:15
'-name' is a new one for me :-), I'll have to remember that.
Richard
2009-09-29 22:14:31