How to compare differences between directories (linux)

Posted by Phil on Server Fault See other posts from Server Fault or by Phil
Published on 2009-08-26T16:17:27Z Indexed on 2010/04/07 21:13 UTC
Read the original article Hit count: 231

Filed under:

I have two directories - one from earlier backup and second from newest backup. How do i compare what changes were made to files in directory from newest backup on Linux? Also how do i display changes in for example text and php files - i'm thinking about something like revision history on wikipedia where you see old version on one side of the screen and newest version on other and changes are highlighted. How do i achieve something like that?

edit: How do i also compare remote dir with local?

© Server Fault or respective owner

Related posts about linux