On Fri, Jun 13, 2003 at 09:22:33AM -0400, JoeHill wrote: > On Fri, 13 Jun 2003 21:26:36 +1000 > Jon Vahlberg <[EMAIL PROTECTED]>(by way of Jon Vahlberg > <[EMAIL PROTECTED]>) uttered: > > > I am making some backup CDs for some of my data CDs but would like to > > check that all the files on one CD matches the same on another CD? > > What's the best way of doing such a comparison? I could run md5 > > against it but I would have to do it for each individual file - I am > > guessing there's a better way of doing it. Thanks. > > "diff" might do it for you. It does handle directories if you specify > the -r switch. > > That's a lotta data, though, diff could give you some horrendous amounts > of output.
Try diff --brief --recursive dir1 dir2 The --brief option cuts out a lot of the output. Of course, you'd have to have two CD drives for this if you were comparing two CDs. Or else copy one to hard disk. -- hendrik
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com