good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comparing the same directory on two different machines Win32by RayRay459 (Pilgrim) |
on Feb 07, 2002 at 17:58 UTC ( [id://143941]=perlquestion: print w/replies, xml ) | Need Help?? |
RayRay459 has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, i am in need of your guidance. I am not sure how i want to go about this. I want to write a script that will look at a directory on one machine and use that as a template to compare files on another. (size, mod time, permissions) I've created a script..pretty much from examples of the modules for individual files:
Should i use "readdir" to create an array of files and check each one individually on each machine? Or maybe a hash of files with their size, modtime and permissions? Eitherway, i'm not too sure how to really get this done. Can anyone please help. Your advice would be much appreciated. your fellow monk Ray
Back to
Seekers of Perl Wisdom
|
|