Re: Applescript to do SCP?
Re: Applescript to do SCP?
- Subject: Re: Applescript to do SCP?
- From: Björn Lundin <email@hidden>
- Date: Sun, 7 May 2006 16:31:29 +0200
7 maj 2006 kl. 12.35 skrev Axel Luttgens: On 5/05/06 23:18, Patrick Besong wrote: expect -re \"password:\\ $\"
would not this make both version happy?
expect { *ssword: {send "$Remote_Password\r"} timeout {return 105 } } Note 1: The above holds for 10.3.9, where scp's prompt for the password looks like: (with a space after the column) On 10.4, the prompt is "Password:", so that the regular _expression_ needs to be adapted accordingly: expect -re \"Password:$\"
/Björn
Björn Lundin bnl at spray dot se
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden