Re: Check if files equal
- Posted by 10963508 at europeonline.com Jul 07, 2002
- 420 views
Files are not databases, they are .zip .avi and .mp3 files mainly (stuff coming down from satellite) - so they are compressed in some way. Speed is more important than accuracy. Tone Skoda ----- Original Message ----- From: "Derek Parnell" <Derek.Parnell at SYD.RABOBANK.COM> To: "EUforum" <EUforum at topica.com> Subject: RE: Check if files equal > > Hi all, > in the original question put to the list by Tone, he mentioned 500MB+ files. > I'm guessing that these are databases, given the size. If so, checking the > bytes from the front of the files is probably a good idea because a lot of > database systems keep pointers and stamps near the front of the database > file. Thus, even if the file sizes haven't been changed, a short scan will > probably find a changed stamp or pointer. If you get about 25% through the > files and haven't found a mismatch, you might take a risk that they are the > same - or you might like to check the last 25% too. Just a thought. > > --------- > Derek. > > ================================================================== > > > ================================================================== > > > >