On Fri, Apr 23, 2010 at 5:23 PM, RSCL Mumbai rscl.mumbai@gmail.com wrote:
Hi,
Can someone pls check this script and advice why it is not working ??
#!/usr/bin/expect -f
spawn rsync -e "ssh -p 2222" -arvz
I suspect this syntax. -e ssh --port=2222 should be there without any "" double inverted commas