in reply to Re: Generic compare script.
in thread Generic compare script.

I have used File::Compare in the past but it doesn't exactly do the job here. I have files on remote machines...I don't want to have ftp them both to the local machine.

I was thinking of telneting into the remote machines and running the following:

perl -MFile::Find -e "find(sub{print qq($File::Find::name\n);},q($path))"

and capturing the output to get my list of files.

Then using telnet again to 'cat' the files and capturing the output from both machine and comparing that....which I suppose is just like using ftp in the end.

Replies are listed 'Best First'.
Re^3: Generic compare script.
by TeraMarv (Beadle) on Oct 12, 2005 at 05:00 UTC
    There must be a better way!!!!!?