Honored Contributor Honored Contributor
Re: Verify two database files are the same size and equals to eachother
diff, cksum - all as suggested.

Since you didn't say what kind of database file:

I'd add that you can verify an Oracle database file with the Oracle command "dbv".

It's been an awfully long time, but I seem to remember that a command line tool exists for Informix as well.
We are the people our parents warned us about --Jimmy Buffett