The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'd use for this kind of stuff. If you want to go Perl, I wonder why using SHA1 checksums would make the whole process better than comparing the data into the files directly - speaking of photos, you can probably accept to slurp both files and use the eq operator. Things would change if you saved the checksums for the reference directory in a file that you load at the start of the program: following invocations would avoid reading the original files giving you a benefit. Also note that you should be able to find modules dealing with SHA1, avoiding to call a subprocess for this. Flavio In reply to Re: Comparing duplicate pictures in different directories
by polettix
|
|