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.

5 Answers 5

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

Your Answer

 
discard

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