Alex Rivera | Logout

How do I compare two source trees in Linux?

Asked 2009-04-22T11:58:23.750
48

I have two directories containing source files to a project I've inherited with little by way of documentation. How do I compare both directories to make see what the differences are?

Edit
Report

1 Answer

31
diff -u -r dirA dirB

Will show you a unified recursive diff between the files in dirA and dirB

answered 2009-04-22T12:03:49.430

Your Answer