Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Automating rsync through a script

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: David Kowis <dkowis AT shlrm.org>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Automating rsync through a script
  • Date: Tue, 30 Sep 2003 09:33:41 -0500

Hello,
This isn't quite related to Source Mage but it's still trying to get
something to work. I've been bashing my head against the wall trying to get a
script to automate rsync through ssh for me. So far I've come up with:

#!/usr/bin/expect -f
spawn rsync --rsh=/usr/bin/ssh -acz --stats
dkowis AT gambit.gotdns.org:/home/cvsroot /home
expect "Password:"
send "\r"

where the \r also has a password in it. But it doesn't seem to do anything. It
just exits. It's driving me crazy because I've supposedly done everything
correctly.
Thanks for your time
David Kowis

find ~your -name '*base* | xargs chown :us

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




Archive powered by MHonArc 2.6.24.

Top of Page