Re: Comparing files in two directories

2007-06-15 Thread L . V . Gandhi
On 6/15/07, William Pursell <[EMAIL PROTECTED]> wrote: L.V.Gandhi wrote: > On 6/14/07, *William Pursell* <[EMAIL PROTECTED] > L.V.Gandhi wrote: > > On 6/14/07, *William Pursell* <[EMAIL PROTECTED] > wrote: > > > > L.V.Gandhi wrote: > > > I have two directorie

Re: Comparing files in two directories

2007-06-15 Thread William Pursell
L.V.Gandhi wrote: On 6/14/07, *William Pursell* <[EMAIL PROTECTED] L.V.Gandhi wrote: > On 6/14/07, *William Pursell* <[EMAIL PROTECTED] wrote: > > L.V.Gandhi wrote: > > I have two directories A and B. In each directory, I have nearly 1000 > > fi

Re: Comparing files in two directories

2007-06-15 Thread L . V . Gandhi
On 6/14/07, William Pursell <[EMAIL PROTECTED]> wrote: L.V.Gandhi wrote: > On 6/14/07, *William Pursell* <[EMAIL PROTECTED] > > wrote: > > L.V.Gandhi wrote: > > I have two directories A and B. In each directory, I have nearly 1000 > > files with same names

Re: Comparing files in two directories

2007-06-15 Thread Keith Christian
Cameron Hutchison wrote: You can then pipe the output of diff into the diffstat program (in the package of the same name) which will tell you how many lines have been added and removed (modified too, but that always seems to come up zero). That will give you a summary of differences, one line p

Re: Comparing files in two directories

2007-06-14 Thread William Pursell
L.V.Gandhi wrote: On 6/14/07, *William Pursell* <[EMAIL PROTECTED] > wrote: L.V.Gandhi wrote: > 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

Re: Comparing files in two directories

2007-06-14 Thread Bob Proulx
L.V.Gandhi wrote: > William Pursell wrote: > > Here's a scriptlet that will print the name of all the files for > > which diff produces more than 5 lines of output. (Which is not quite > > to say that they differ in 5 lines, but it's close). > > > > for file in $(find A -type f); do if test $(diff

Re: Comparing files in two directories

2007-06-14 Thread L . V . Gandhi
On 6/14/07, William Pursell <[EMAIL PROTECTED]> wrote: L.V.Gandhi wrote: > 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 > manu

Re: Comparing files in two directories

2007-06-14 Thread William Pursell
L.V.Gandhi wrote: 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? Here's a scriptle

Re: Comparing files in two directories

2007-06-14 Thread L . V . Gandhi
On 6/14/07, Ilias Paraponiaris <[EMAIL PROTECTED]> wrote: UNISON I use unison (ssh / static IP) to synchronize my laptop with my desktop (i.e. two not-local directories). The only issues are i) that the "modified date" is not preserved and ii) that it is too slow (I had unison installed in winxp

Re: Comparing files in two directories

2007-06-14 Thread L . V . Gandhi
On 6/13/07, Cameron Hutchison <[EMAIL PROTECTED]> wrote: L.V.Gandhi wrote: >On 6/13/07, Keith Christian <[EMAIL PROTECTED]> wrote: >> >> L.V.Gandhi wrote: >> > I have two directories A and B. In each directory, I have nearly 1000 >> > files with same names. I would like to compare both director

unison vs krusader WAS Re: Comparing files in two directories

2007-06-14 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilias Paraponiaris wrote: > UNISON > I use unison (ssh / static IP) to synchronize my laptop with my desktop > (i.e. two not-local directories). The only issues are i) that the > "modified date" is not preserved and ii) that it is too slow (I had > uni

Re: Comparing files in two directories

2007-06-14 Thread Ilias Paraponiaris
UNISON I use unison (ssh / static IP) to synchronize my laptop with my desktop (i.e. two not-local directories). The only issues are i) that the "modified date" is not preserved and ii) that it is too slow (I had unison installed in winxp and it was much faster --I have not figured out why...) KRUS

Re: Comparing files in two directories

2007-06-13 Thread Cameron Hutchison
L.V.Gandhi wrote: >On 6/13/07, Keith Christian <[EMAIL PROTECTED]> wrote: >> >> L.V.Gandhi wrote: >> > 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 lin

Re: Comparing files in two directories

2007-06-13 Thread Andrew Sackville-West
On Wed, Jun 13, 2007 at 04:59:40PM -0700, L.V.Gandhi wrote: > On 6/13/07, Keith Christian <[EMAIL PROTECTED]> wrote: [snip excellent explanation of diff] > > > Thanks for your effort and time. All these leads to get list of lines > differing in each file. Once again I have to go through all lines

Re: Comparing files in two directories

2007-06-13 Thread L . V . Gandhi
On 6/13/07, Keith Christian <[EMAIL PROTECTED]> wrote: L.V.Gandhi wrote: > 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 > manu

Re: Comparing files in two directories

2007-06-13 Thread Keith Christian
L.V.Gandhi wrote: 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? -- L.V.Gandhi htt

Re: Comparing files in two directories

2007-06-13 Thread Gilles Mocellin
Le Wednesday 13 June 2007 22:47:13 L.V.Gandhi, vous avez écrit : > 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 t

Re: Comparing files in two directories

2007-06-13 Thread Mathias Brodala
Hi. Mathias Brodala, 13.06.2007 22:51: > 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 manu

Re: Comparing files in two directories

2007-06-13 Thread Mathias Brodala
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 easi

Comparing files in two directories

2007-06-13 Thread L . V . Gandhi
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? -- L.V.Gandhi http://lvgandhi.tripod.co