Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Folder Comparisons Via Command Line

I want to compare two folders on Windows (Vista, XP) which have a large number of huge files, which I need to compare. If I use Beyond Compare or such tool to compare the folders, it is taking a lot of time if I do it manually. I need to add that folder comparison to batch file.

So on Windows (XP, Vista), is there any command (built-in) or any 3rd party tool/utility (commercial or freeware - either) to compare two folders using the command line.

like image 301
goldenmean Avatar asked Nov 14 '09 00:11

goldenmean


People also ask

How do I compare two folders?

Click on the “Select Files or Folders” tab in the far left, to start a new comparison. Each comparison you run opens in a new tab. To start a new comparison, click on the “Select Files or Folders” tab in the far left, change the targets and click “Compare” again.


1 Answers

>diff -r Folder_A Folder_B

You may find GNU diffutils compiled for windows at GnuWin32.

like image 158
ephemient Avatar answered Oct 20 '22 04:10

ephemient