in reply to Removing Duplicate Files
In the former case, read in each file, calculate an MD5 checksum of its contents, and use that as a key to a hash, whose values are the pathnames.
Dave.