in reply to MD5 checksums for Windows
When I run the script on my system, it runs for a while then stops with the following error ...
C:\tmp\Shared\Downloads>perl sum.pl -R c:/data/db 32768 aa8fe23d2d4c2495ff521b2efbefd30d c:/data/db/collection-0 +-3854299608590736422.wt 90112 540e61cd865a1c8e72255d658c00840b c:/data/db/collection-0 +-6126630059692173099.wt ... c:/data/db/index-4105-3854299608590736422.wt sum.pl[99] FATAL: Failed to open 'c:/data/db/mongod.lock' (Permission + denied)
I tried putting an if(-r $fname) around the md5 calculation, but I still get the same error.
Any ideas on how I can modify the script to skip past this file ?
In Section
Cool Uses for Perl