Re: sha-2 sum of files?

2013-06-11 Thread Pritish Pattanaik
Hello Lee, use Digest::MD5 module I believe solve your problem, But you can incorporate other Perl modules to achieve your task. Things I would consider for this task : 1. Scripts checks on file/directory on every ? seconds 2. I should not bother about access time. 3.your script need to calculat

Re: sha-2 sum of files?

2013-06-11 Thread David Christensen
On 06/11/13 21:44, lee wrote: ... what I don't understand is what the most efficient way would be to create a sha-2 sum for a file. Have you considered Digest? http://perldoc.perl.org/Digest.html HTH, David -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional comman

Re: sha-2 sum of files?

2013-06-11 Thread Jim Gibson
On Jun 11, 2013, at 9:44 PM, lee wrote: > Hi, > > what I'm trying to do is create a list of sha-2 sums of files the names > of which are stored in a file. The purpose is to verify from time to > time whether any of the listed files have been modified or not in the > meantime. > > So I can read

sha-2 sum of files?

2013-06-11 Thread lee
Hi, what I'm trying to do is create a list of sha-2 sums of files the names of which are stored in a file. The purpose is to verify from time to time whether any of the listed files have been modified or not in the meantime. So I can read the list of file names; what I don't understand is what t