DEV Community

Discussion on: Solution: Find Duplicate File in System

Collapse
 
cipharius profile image
Valts Liepiņš

Considering that files could be large, perhaps one could use same approach but store file checksums instead?

If the rare case of collision is of concern, checksums can still be used as first pass filter and then match the file contents, just in case.