Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a Windows command line utility that outputs the differences of two folders into another folder.

An example, I have folder A which has already been deployed, I want to deploy folder B, which is a updated version of folder A. So I need a list of the changes I need to make in order to make Folder A match folder B.

share|improve this question

migrated from stackoverflow.com Feb 17 '10 at 2:54

This question came from our site for professional and enthusiast programmers.

7 Answers 7

Beyond Compare has some command line abilities although I can't find much on their website about them.

They are fully documented in the help file and you can download a fully functional trial version.

share|improve this answer

rsync will sync up two folders. there are implementations of it on windows, e.g. as part of cygwin

share|improve this answer
    
rsync will sync but it won't just tell you about the differences. –  Joey Feb 17 '10 at 10:38

I can recommend unison for syncing directories (local or remote). There is a nice graphical GTK client, but the command line version is always available.

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

share|improve this answer

I find the diff.exe that comes with Vim to be useful.

share|improve this answer

Something like WinMerge will let you see the differences between one folder and another, and will let you apply changes to one or the other.

alt text

share|improve this answer

I don't understand why no one answer with the better free comparision tool in the market,

Total Commander

(http://www.ghisler.com/)

Even you compare with any method, byte, CRC, date, etc. and move from one to another site.

enter image description here

share|improve this answer

The answer is simple:

comp path1\* path2\*
share|improve this answer
    
Well, you could give an example output, explain how to open the command line, things like this. –  slhck Oct 21 at 16:44
    
This answer compares the folders, but it doesn't do anything with the results, so it doesn't really answer the question. –  DavidPostill Oct 21 at 17:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.