Hi All,
I am trying to compare two folder using "cmp" command.
Folder1=/path/to/folder1
Folder2=/path/to/folder2
Folder1 has file name
abc.txt
efg.txt
hij.txt
.
.
.
.....................
xyz.txt
Folder2 has file name
abc.txt
efg.txt
.
.
.
.....................
xyz.txt
I want to compare this two folder with similar name.
Means Folder1/abc.txt should be comapred with Folder1/abc.txt
similarly
Folder1/xyz.txt should be comapred with Folder1/xyz.txt
The difference should be dump in any file.