[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Taking diff of two directories recursively?

Sam Ockman <ockman@varesearch.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
                                            Fortune Cookie
PGP Public key available

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: