Can you please tell me how can I compare the content content of each files under 2 different directories hierarchy? I am on MacOS X platform?
Thank you.
|
Can you please tell me how can I compare the content content of each files under 2 different directories hierarchy? I am on MacOS X platform? Thank you.
| ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
DiffMerge may do what you need:
| ||||
|
feedback
|
|
If you have the developer tools installed, you will have filemerge, which can compare 2 directories. However - if you haven't it would be a rather big thing to install just for that. | |||
|
feedback
|
|
| |||
feedback
|
|
If you don't mind using the command line, you can use the UNIX 'diff' command. An example of a command to run a compare using diff could be: diff -r /my/first/directory /my/second/directory This will recursively perform a diff on all common directories and files between the two directories. Reference: http://www.computerhope.com/unix/udiff.htm | |||
|
feedback
|