Re: compare two directory trees

2010-12-15 Thread T o n g
On Tue, 14 Dec 2010 03:02:11 -0600, Boyd Stephen Smith Jr. wrote: >>I burn DVD/CDs from ISO files. In order to verify the burning is >>correct, There are two ways to verify if the CD/DVD burning is correct. - verify it as a whole - verify each individual files If you are satisfied with the f

Re: compare two directory trees

2010-12-14 Thread shawn wilson
On Dec 14, 2010 8:45 PM, "Yuwen Dai" wrote: >> >> The way I see it, you've got a few choices: >> 1. Compare ls -lR which won't catch burn issues. But pretty quick. >> 2. dd the cd and diff or checksum that. >> 3. Copy the files back to disk and run the checksum there (possibly quicker because the

Re: compare two directory trees

2010-12-14 Thread David Christensen
Yuwen Dai wrote: I burn DVD/CDs from ISO files. In order to verify the burning is correct, ... The above method does work, but too time consuming because of the md5sum calculating. Do you have any suggestion to improve the efficiency? This tool recursively compares file names, mtimes, and s

Re: compare two directory trees

2010-12-14 Thread shawn wilson
> Some installation CDs have a menu option which offers to verify the CD > prior to installation. It might be worth investigating what technique > they use and adapting it for your purpose. > IIRC they make a checksum and compare with their known checksum.

Re: compare two directory trees

2010-12-14 Thread Liam O'Toole
On 2010-12-14, Yuwen Dai wrote: > --20cf305644eb154f0904975a6ec6 > Content-Type: text/plain; charset=ISO-8859-1 > > Dear all, > > I burn DVD/CDs from ISO files. In order to verify the burning is correct, > I wrote a script working like this: > 1. mount the DVD and ISO files onto two mount points

Re: compare two directory trees

2010-12-14 Thread Camaleón
On Tue, 14 Dec 2010 16:15:56 +0800, Yuwen Dai wrote: > I burn DVD/CDs from ISO files. In order to verify the burning is > correct, I wrote a script working like this: > 1. mount the DVD and ISO files onto two mount points 2. calculate every > file's md5sum in each directory, and save and sort the

Re: compare two directory trees

2010-12-14 Thread shawn wilson
> I burn DVD/CDs from ISO files. In order to verify the burning is correct, I wrote a script working like this: > 1. mount the DVD and ISO files onto two mount points > 2. calculate every file's md5sum in each directory, and save and sort them in two separate files > 3. compare the above two file

Re: compare two directory trees

2010-12-14 Thread Boyd Stephen Smith Jr.
In , Yuwen Dai wrote: >I burn DVD/CDs from ISO files. In order to verify the burning is correct, >I wrote a script working like this: >1. mount the DVD and ISO files onto two mount points >2. calculate every file's md5sum in each directory, and save and sort them >in two separate files >3. compar

Re: compare two directory trees

2010-12-14 Thread Juha Tuuna
On 14.12.2010 10:15, Yuwen Dai wrote: > Dear all, > > I burn DVD/CDs from ISO files. In order to verify the burning is correct, I > wrote a script working like this: > 1. mount the DVD and ISO files onto two mount points > 2. calculate every file's md5sum in each directory, and save and sort the

compare two directory trees

2010-12-14 Thread Yuwen Dai
Dear all, I burn DVD/CDs from ISO files. In order to verify the burning is correct, I wrote a script working like this: 1. mount the DVD and ISO files onto two mount points 2. calculate every file's md5sum in each directory, and save and sort them in two separate files 3. compare the above two fi