Welcome to the Monastery | |
PerlMonks |
Re^3: Finding old copies of filesby afoken (Chancellor) |
on Feb 27, 2021 at 15:29 UTC ( [id://11128879]=note: print w/replies, xml ) | Need Help?? |
An MD5 or SHA-256 sum would catch different files of the same size. However, they are computationally intense and in this use case overkill Calculating the MD5 of a file should not be significantly slower than copying the file on a modern computer. You could even optimize by delaying the MD5 calculation until you find a second file with same size and base name. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Cool Uses for Perl
|
|