sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- 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/
-
[SM-Discuss] Automating rsync through a script,
David Kowis, 09/30/2003
-
Re: [SM-Discuss] Automating rsync through a script,
Andrew, 09/30/2003
- Re: [SM-Discuss] Automating rsync through a script, David Kowis, 09/30/2003
-
Re: [SM-Discuss] Automating rsync through a script,
Casey Harkins, 09/30/2003
- Re: [SM-Discuss] Automating rsync through a script, Mads Laursen, 09/30/2003
- Re: [SM-Discuss] Automating rsync through a script, Andrew, 09/30/2003
-
Re: [SM-Discuss] Automating rsync through a script,
Andrew, 09/30/2003
Archive powered by MHonArc 2.6.24.