s it possible to recursively do diff with previous version for the folder and files inside it?

stg_config's picture
stg_config asked on April 12, 2009 - 10:38pm | Replies (1).

Hi All,

There is a requirement in our project. Is it possible to recursively do diff with previous version for the folder and files inside it? As for as my knowledge is concerned the command "ct diff -pred" does not do recursive diff for the folder and files. It does only to a particular file or folder.
Is there a way to achieve this?

Basically I want to recursively perform diff to the present directory and its files and folders inside it and put the output result in the text file.
Can anybody suggest me the workaround and how to start?

Thanks to all of you.

STG

1 Answer

David Day's picture
David Day replied on December 30, 2013 - 11:22am.

I would check out BeyondCompare's command line scripting to do what you're looking for. It will let you do a recursive diff and save it to a report or to xml for parsing. 

google  beyond compare recursive report 

 

and check out the results you get back. I'm no expert at it, but it seems that you can meet your requirements with that tool.

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.