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

Re: Comparing files in two directories



Hi.

L.V.Gandhi, 13.06.2007 22:47:
> I have two directories A and B. In each directory, I have nearly 1000 files
> with same names. I would like to compare both directories and find out
> which
> files differ more than say 5 lines. I use kompare and see manually. How to
> do it in command line easily?

Not sure if it is what you’re searching for since you don’t write what criteria
you use to differentiate between files, but have a look at fdupes. It can find
duplicates of files based on their binary content.


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: