Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
EssOEss
Oct 23, 2006
128-bit approved
What would be the desired output format from this? Do you need to machine read it or do you just want the list of duplicates for human consumption? How do you use the output?

Yes, the 3rd check is necessary because you can't know if the files are the same without actually checking if they are the same inside. The most you can do without is to say for sure they are not the same (e.g. because contents cannot match if checksum does not match).

EssOEss fucked around with this message at 10:03 on Aug 8, 2018

Adbot
ADBOT LOVES YOU

EssOEss
Oct 23, 2006
128-bit approved
So the goal is to delete duplicates? Does it matter which one? This seems like an easy app to make but having some more specific requirements on what it needs to do would be good. Be as specific as you can.

The byte for byte comparison is necessary if the checksums match. A matching checksum says "these might be the same" - you need to check the contents to make sure.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply