david wrote: > I have a directory tree, plus an approximate copy of the same tree. > du reports 35mb for one and 36 for the other. They are quite complex trees. > > My task is to figure out where and why they are different. Is there a simple > way > to do this? A kind of diff for directories/files/filesizes.
I'm pretty sure the diff program will actually do this. Have a look at the following options: -a --text Treat all files as text. -q --brief Output only whether files differ. -r --recursive Recursively compare any subdirectories found. You may also want to try doing "ls -lR dirname > dirname.txt" on both directories and then viewing the outputs in a graphical diff program. HTH, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Christianity has a nasty habit of ignoring the major problems of our time, including overpopulation and exhaustion of resources, because they aren't mentioned in the Bible." -- Paula L. Craig -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html