[Lvlug] verifying copied cd's

jeff jacaz@fast.net
Fri, 10 May 2002 19:24:40 -0400


anybody know of a good way to verify copied CD's

I inserted the original cd and did:
mount /cdrom; cd /cdrom; du -a > ~/file1; cd; umount /cdrom; eject

Then insterted the copied cd and did:
mount /cdrom; cd /cdrom; du -a > ~/file2; cd; umount /cdrom; eject

And then:

diff -q file1 file2

This should verify that the name and size of each file match; is there a 
better way?

Jeff