Everyday Scripting With Ruby, by Brian Marick, has a chapter describing, 
step by step, how to develop a program that compares files in directories.

Bret


[EMAIL PROTECTED] wrote:
> All,
>
> I am attempting to compare two file directories, both containing .xml
> files.  If a filename is present in both directories, I want to
> compare the two files, looking for any differences.  If a filename is
> only present in one of the directories, I want to send the filename to
> a file that contains a list of the files only found in one of the
> directories.  Does anyone know of a good way of comparing the contents
> of a directory with Ruby?  Thank you in advance for your help.
>
> - Shelton
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to