#!/usr/bin/expect -f set force_conservative 0 ;# set to 1 to force conservative mode even if ;# script wasn't run conservatively originally if {$force_conservative} { set send_slow {1 .1} proc send {ignore arg} { sleep .1 exp_send -s -- $arg } } set timeout -1 spawn scp -r -P 1776 /home/publishing/news.spaceblogger.com/files/ 67.15.112.38:/netra/www/s/p/spaceblogger.com/reports/ match_max 100000 expect -exact "root@67.15.112.38's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/www2.spacedaily.com/files/ 206.225.93.35:/var/www/vhosts/spacedaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.spacewar.com/files/ 206.225.93.35:/var/www/vhosts/spacewar.com/httpdocs/reports/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.sinodaily.com/files/ 206.225.93.35:/var/www/vhosts/sinodaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.energy-daily.com/files/ 206.225.93.35:/var/www/vhosts/energy-daily.com/httpdocs/reports/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.terradaily.com/files/ 216.55.136.26:/var/www/vhosts/terradaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.marsdaily.com/files/ 216.55.136.26:/var/www/vhosts/marsdaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/news.moondaily.com/files/ 216.55.136.26:/var/www/vhosts/moondaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.space-travel.com/files/ 216.127.81.26:/home/httpd/vhosts/space-travel.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.spacemart.com/files/ 216.127.81.26:/home/httpd/vhosts/spacemart.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.skynightly.com/files/ 216.127.81.26:/home/httpd/vhosts/skynightly.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.gpsdaily.com/files/ 216.127.81.26:/home/httpd/vhosts/gpsdaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.saturndaily.com/files/ 216.127.81.26:/home/httpd/vhosts/saturndaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.interndaily.com/files/ 216.127.81.26:/home/httpd/vhosts/interndaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/news.solardaily.com/files/ 216.127.81.26:/home/httpd/vhosts/solardaily.com/httpdocs/reports/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof