K
Kurt Euler
All-
Can anyone advise:
1) If there is a Ruby (boolean?) method that will compare the contents of
two files and return indication as to whether or not their contents are
identical?
2) Beyond this, does anyone know of a Ruby script available that will prompt
the user for two directories, then proceed to check for files (recursively
into subdirectories) in the two directories are different, and write the
names of non-identical pairs to the display/file. Sounds simple enough to
write (esp using any tip provided in #1 above), but just thought if someone
else has already done the (eg, directory prompting UI) legwork).
Many thanks.
Kurt Euler
Can anyone advise:
1) If there is a Ruby (boolean?) method that will compare the contents of
two files and return indication as to whether or not their contents are
identical?
2) Beyond this, does anyone know of a Ruby script available that will prompt
the user for two directories, then proceed to check for files (recursively
into subdirectories) in the two directories are different, and write the
names of non-identical pairs to the display/file. Sounds simple enough to
write (esp using any tip provided in #1 above), but just thought if someone
else has already done the (eg, directory prompting UI) legwork).
Many thanks.
Kurt Euler