Link to home
Start Free TrialLog in
Avatar of CalmSoul
CalmSoulFlag for United States of America

asked on

perl script help

Hello Experts:

I am looking for multi-threaded script to parse through the NAS folders and subfolders .. and get checksum values of all files

Sample output
Path, File, checksumvalue

Using this script - doesn't work

use File::Find;


find(sub {return unless -f $File::Find::name; system("cksum $File::Find::name");}, '/directory1')

Open in new window


please assist ...

Regards,
SOLUTION
Avatar of wilcoxon
wilcoxon
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In what sense is that multi-threaded?
It's not.  I figured we'd start with something simple that worked and then move to multi-thread/process.  If the OP is happy with what I provided then that's fine with me.
Avatar of CalmSoul

ASKER

I am just happy somebody replied