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

Re: diff files matching a pattern



Tzafrir Cohen wrote:
> 
> LC_ALL=C diff -r dir1 dir2 | grep -v ^Only
> 
> The size really doesn't matter for those extra large files.
> 

This works only if the extra 950 files are in just one directory. If the
extra files are there in both the directories, then it does not make sense
to compare all the 1000 files since I am interested only in the diff of 50
files.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


Reply to: