[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?

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 <pfaffben@pilot.msu.edu> <blp@gnu.org> <pfaffben@debian.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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: