|
finding difference file to file
Hi,
I have some 10 files in one directory and 10 files in another diretory
/t1/t2/file1.txt
/t1/t2/file2.txt
/t1/t2/file3.txt
/t1/t2/file4.txt
.
.
.
.
etc
similarly
/t1/t3/file1.txt
/t1/t3/file2.txt
/t1/t3/file3.txt
/t1/t3/file4.txt
.
.
.
etc
file1,file2,file3 are the files which contains some data..
/t1/t2/file1.txt --- contains original data
/t1/t3/file1.txt ---- contains same data as above but with small changes
I can use diff command to find the difference between these two files, but i want to find it for all the files.. which will be the best solution..
file to file difference ( say both the directories have 100 files like that with similar file name)
It would be of great help...
Thanks in advance..
|