rm -f INDEX.pl
echo "#!/usr/bin/expect -f" >> INDEX.pl
ls /home/publishing/www2.spacedaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/spacedaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/www2.spacedaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/spacedaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.spacewar.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/spacewar.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.spacewar.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/spacewar.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.energy-daily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/energy-daily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.energy-daily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/energy-daily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.sinodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/sinodaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.sinodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 206.225.93.35:/var/www/vhosts/sinodaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@206.225.93.35'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.japan.co.jp/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 67.15.58.35:/ne
tra/www/j/a/japan.co.jp/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@67.15.58.35'"'"'s password: \"" "\n" "send -- \
"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.japan.co.jp/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 67.15.58.35:/ne
tra/www/j/a/japan.co.jp/index.php" "\n" "match_max 100000" "\n" "expect -exact \"root@67.15.58.35'"'"'s password: \"" "\n" "send --
\"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.space-travel.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/space-travel.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.space-travel.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/space-travel.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.spacemart.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/spacemart.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.spacemart.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/spacemart.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.gpsdaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/gpsdaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.gpsdaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/gpsdaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.solardaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/solardaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.solardaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/solardaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.interndaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/interndaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.interndaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/interndaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.skynightly.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/skynightly.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.skynightly.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 1776 "$1 " 216.127.81.26:/home/httpd/vhosts/skynightly.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.127.81.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.terradaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/terradaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.terradaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/terradaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.marsdaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/marsdaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.marsdaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/marsdaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.moondaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/moondaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.moondaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/moondaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.indodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/indodaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.indodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/indodaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.russodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/russodaily.com/httpdocs/pageone/" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
ls /home/publishing/news.russodaily.com/indexes/*200*.html | awk '{print "set timeout -1" "\n" "spawn scp -P 22 "$1 " 216.55.136.26:/var/www/vhosts/russodaily.com/httpdocs/index.html" "\n" "match_max 100000" "\n" "expect -exact \"root@216.55.136.26'"'"'s password: \"" "\n" "send -- \"0,sumitomo,0\\r\"" "\n" "expect eof"}' >> INDEX.pl
chmod 755 INDEX.pl
