The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-03-2007
wip_vasikaran wip_vasikaran is offline
Registered User
 

Join Date: Jul 2006
Posts: 14
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..
Reply With Quote
Remove advertisements
!!
Forum Sponsor