grazinggoat
Programmer
Hello
Need a little point in right direction.. I have a list of filenames stored in a txt file
that I want to copy from 1 machine to another and check that they copied based on doing keeping track by file id and then a comparison of the filesize to make sure they match afte the copy. Could someone just give me a general idea on this? i'm not sure where to even begin as far as a best method.
I figured I'd open the file list then stick them in an array ( or would a hash be more ideal )
this is where a lot of my confusion begins with when is the best tiem to use arrays or hash to parse?
the files are in the flat file by a file id, size, filename.
F1 size file1
F2 size file2
Thanks in advanced for any advice or examples on this!
Need a little point in right direction.. I have a list of filenames stored in a txt file
that I want to copy from 1 machine to another and check that they copied based on doing keeping track by file id and then a comparison of the filesize to make sure they match afte the copy. Could someone just give me a general idea on this? i'm not sure where to even begin as far as a best method.
I figured I'd open the file list then stick them in an array ( or would a hash be more ideal )
this is where a lot of my confusion begins with when is the best tiem to use arrays or hash to parse?
the files are in the flat file by a file id, size, filename.
F1 size file1
F2 size file2
Thanks in advanced for any advice or examples on this!