Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2006 10:16:28 +0100
From:      dgmm <freebsd01@dgmm.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Directory and file comparison tool for X?
Message-ID:  <200606101016.29195.freebsd01@dgmm.net>
In-Reply-To: <20060610104044.2933d274@localhost>
References:  <20060609052138.9DE3216A556@hub.freebsd.org> <Pine.BSF.3.96.1060609204146.27643B-100000@gaia.nimnet.asn.au> <20060610104044.2933d274@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 10 June 2006 01:40, Norberto Meijome wrote:
   =A0
> On Fri, 9 Jun 2006 20:56:17 +1000 (EST)
>
> Ian Smith <smithi@nimnet.asn.au> wrote:
> > Re: freebsd-questions Digest, Vol 137, Issue 55
> >
> > Hi Beto,
> >
> > (offlist as it's just a silly answer, not one for X)
>
> Hey Ian,
> thx, not a silly answer at all
>
> > =A0> I'm looking for a tool that will allow me to compare directories
> > =A0> (recursively) showing what files are different,etc. meld (
> > textproc/meld ) > can do this to some extent, showing missing files,etc,
> > but not showing > what files are different withoug having to open each
> > file and do a diff.
> >
> > Well of course 'diff -r dir1 dir2 | less' does that well in an xterm :)
>
> yeah, but it's just way too verbose. something that allows very quick
> determination of differences / missing files, transfer them from one tree
> to another,etc. Specially for LARGE trees.


rsync -rn dir1 dir2

r =3D recurse directories
n =3D no action, just report the diffs

=2D-=20
Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606101016.29195.freebsd01>