Ok, seems you guys were right. I really do need to 'fingerprint' the files. I will probably only do this if the sizes are similar. The question is, how? I've had a look at the MD5 post and it's all gobbledeegook to me.
The files are compiled Progress 4gl files. Even with a similar num of characters, any coding difference will generate a different sized compiled code. It is ''relatively'' safe.
Guys,
Thank you so much for all the help. It really is awesome. Basically wanted to compare the 2 files and if they are different size, flag them so that we can check for differences. What you've given allows me to do this.
Hi,
I am new to PERL and need to write a script to compare 2 files of the same name in different directories. If the file sizes are different, I need to output the file name.
Any help would be greatly appreciated.
Les
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.