On Sat, May 17, 2008 at 8:49 AM, Josh Mellicker <[EMAIL PROTECTED]> wrote:
> Hi Phil...
>
> It might, but I can't get it to work.
>
> If you try this (on OS X):
>
>
> 1. create a folder called "revcoder_rsync_test" in the root directory of
> your main hard drive
>
> 2. open Terminal
>
> 3. enter this:
>
> rsync -avzrt
> [EMAIL PROTECTED]:/home/revcoder/public_html/revcoder_rsync_test/
> /revcoder_rsync_test
>
> 4. you will see the following (the first time you connect):
>
> The authenticity of host 'revcoders.org (67.19.54.130)' can't be
> established.
> RSA key fingerprint is 9f:8c:ba:a9:5d:3f:b4:ef:f7:4a:2c:20:cd:77:b3:8c.
> Are you sure you want to continue connecting (yes/no)?
>
> 5. enter "yes"
>
> 6. response:
>
> Warning: Permanently added 'revcoders.org' (RSA) to the list of known hosts.
> [EMAIL PROTECTED]'s password:
>
> 7. enter "cookies"
>
> 8. Then, a couple of small pictures will download. Success!
>
> OK, so all works well in Terminal.
>
>
> Now, in Revolution:
>
> put "/bin/bash" into tProc
>
>    open process tProc FOR update
>    write "rsync -avzrt
> [EMAIL PROTECTED]:/home/revcoder/public_html/revcoder_rsync_test/
> /revcoder_rsync_test" to process tProc
>    wait 2 seconds WITH messages
>    write "cookies" to process tProc
>
> Nothing happens.


I think the "expect" shell command may do what you need. From my brief
look, it allows you to script the expected interactions with any shell
process.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to