ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Here's something that looks, and should be as simple as it comes, but nope.. I've been at this for two days, and cannot possibly understand what is going wrong. All it is, is a TCL script, which automatically rsync's into my backup server. Here's goes:
spawn rsync --rsh=/usr/bin/ssh -avzrpog -e ssh /home/paradox/public_html/localserver/ firstname.lastname@example.org:/home/paradox/public_html/remoteserver/ send "bahbahbooey\n"
building file list ... link_stat email@example.com:/home/paradox/public_html/. : No such file or directory
wrote 565 bytes read 20 bytes 1170.00 bytes/sec
total size is 109631 speedup is 187.40
rsync error: some files could not be transferred (code 23) at main.c(620)
Ok, it successfully logged in, but for some odd reason, it thinks the target directory dosen't exsist. I just don't get it.. How can everything go so well, and then it claims the directory does not exsist. Does anyone have a simple script like this that actually works in the way I want it to? Posting it here, or any suggestions to my above one would really be appreciated.