Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2013 08:53:55 +0700
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        Adam Vande More <amvandemore@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: utility to compare 2 dir trees
Message-ID:  <20130101085355.4e4767c2@X220.ovitrap.com>
In-Reply-To: <50E23FC3.5060204@a1poweruser.com>
References:  <50E23A95.80907@a1poweruser.com> <CA%2BtpaK0xOAtUjBGc_SH4r1qkX3V5F28CbrYCMWFyqZLh4KqniA@mail.gmail.com> <50E23FC3.5060204@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 31 Dec 2012 20:45:39 -0500
Fbsd8 <fbsd8@a1poweruser.com> wrote:

> Adam Vande More wrote:
> > On Mon, Dec 31, 2012 at 7:23 PM, Fbsd8 <fbsd8@a1poweruser.com>
> > wrote:
> >=20
> >> I want to compare 2 different directory trees to each other to
> >> locate any differences in directories and files contained there in.
> >>
> >> Any suggestions?
> >>
> >=20
> > mtree(8)
> >=20
>=20
>=20
>  From the man page I don't see how to code mtree to compare 2
> different directory trees against each other.

you can compare a directory tree which is rooted in your current
directory and a specified one.

=46rom man:

The mtree utility compares the file hierarchy rooted in the current
directory against a specification read from the standard input.
Messages are written to the standard output for any files whose
characteristics do not match the specifications, or which are missing
from either the file hierarchy or the specification.

Erich
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




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