just compare the file sizes. Then only compare (or md5) files whose sizes match.
Not quite. If you need to be absolutely sure the files are identical, the following are effecient ways of achieving this:
or
or
If you're dealing with many files, the second method is probably the best.
If you're dealing with just a few files, the first method is probably better.
In reply to Re^6: Assistance with file compare
by ikegami
in thread Assistance with file compare
by Karger78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |