# scp_index.sh 20210919_1950 progid="scp_index.sh" dttm=`date +"%Y%m%d_%H%M%S"` # tl_b64s = `ls b*.txt` dttm=`date +"%Y%m%d_%H%M%S"` echo "$progid $dttm" echo "$progid go" echo "cp index.html index.htm" echo "cp index.html index_best.html" echo "cp index.html index_$dttm.html" echo "cp index.html index_ka1.html" echo "scp index.htm* kozerus@ko0.us:~/public_html/" echo "scp index.htm* kotwous@ko2.us:~/public_html/" if [ "$1" = "go" ] || [ "$1" == "g" ]; then echo "$progid $dttm" echo "cp index.html index.htm" cp index.html index.htm echo "cp index.html index_best.html" cp index.html index_best.html echo "cp index.html index_$dttm.html" cp index.html index_$dttm.html echo "cp index.html ka1.html" cp index.html ka1.html echo "scp index.htm* kozerus@ko0.us:~/public_html/" scp index.htm* kozerus@ko0.us:~/public_html/ echo "scp index.htm* kotwous@ko2.us:~/public_html/" scp index.htm* kotwous@ko2.us:~/public_html/ echo "scp mobmin.htm* kozerus@ko0.us:~/public_html/" scp mobmin.htm* kozerus@ko0.us:~/public_html/ echo "scp mobmin.htm* kotwous@ko2.us:~/public_html/" scp mobmin.htm* kotwous@ko2.us:~/public_html/ echo "scp mobmax.htm* kozerus@ko0.us:~/public_html/" scp mobmax.htm* kozerus@ko0.us:~/public_html/ echo "scp mobmax.htm* kotwous@ko2.us:~/public_html/" scp mobmax.htm* kotwous@ko2.us:~/public_html/ echo "scp mob_lists.htm* kozerus@ko0.us:~/public_html/" scp mob_lists.htm* kozerus@ko0.us:~/public_html/ echo "scp mob_lists.htm* kotwous@ko2.us:~/public_html/" scp mob_lists.htm* kotwous@ko2.us:~/public_html/ exit; fi