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?
Hmmm... This isn't exactly what you want, but it might be helpful:
ls -lR foo > foo.list
ls -lR bar > bar.list
diff -u foo.list bar.list | less
Ben Pfaff <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>
Senders of unsolicited commercial e-mail will receive free 32MB core files!
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .