info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recursive Comparision of files in working directory with repository


From: ferozahmed
Subject: Recursive Comparision of files in working directory with repository
Date: Tue, 3 Jan 2006 07:27:15 -0500

Hi All

i have written a script to take the difference between working directory and 
it's corresponding directory in the repository
i have to take the difference of each file in the directory with it's 
corresponding file in the repository and i have written the following the 
following script

i am not able to find out the difference as the if condition in the script gets 
failed beacause the files in the repository are appended with  v so any 
solution for this and i want to store the difference of the each file into a 
separate file excluding the garbage value 

any solution

Repo=/usr/local/repository/repository/nwpi
work=/home/trainee/work/nwpi

for i in `ls /usr/local/repository/repository/nwpi
{
for j in `ls /home/trainee/work/nwpi
{
if [ $i -eq $j ]  -->
then
cvs diff -u -r1.1 /home/trainee/work/nwpi
else
true
}
}

Thanks & Regards

Feroz Ahmed
Member, IVV Group
#2989/1B, 12th Main
80 Feet Road, Indiranagar
BANGALORE - 560008 INDIA
Ph : +91-80-51267681/82
E-mail : address@hidden
www.oaksys.net 




________________________________________________________________
Sent via the WebMail system at oaksys.net


 
                   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]