Re: Taking diff of two directories recursively?
Sam Ockman <email@example.com> writes:
> I need to take the diff of two directories recursively, but am not
> just interested in what files are different...I'm also interested in
> if the dates of the files are different, the uids, the gids, and the
> permissions. Anyone know of a program to tell me all of this?
If you want to compare only the files attribute (and not their
contents) you can use something like:
find dir -print | xargs ls -ld > list
to create a file for each of your directories and use a normal diff to
compare them [UNTESTED].
!07/11 PDP a ni deppart m'I !pleH
PGP Public key available
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .