Directory and file comparison tool for X?

dgmm freebsd01 at dgmm.net
Sat Jun 10 16:35:33 UTC 2006


On Saturday 10 June 2006 01:40, Norberto Meijome wrote:
    
> On Fri, 9 Jun 2006 20:56:17 +1000 (EST)
>
> Ian Smith <smithi at 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
>
> >  > I'm looking for a tool that will allow me to compare directories
> >  > (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 = recurse directories
n = no action, just report the diffs

-- 
Dave


More information about the freebsd-questions mailing list