DIR : /home/kozerus/public_html/go/allaboutgo/ko_files.sh
/home/kozerus/public_html/go/allaboutgo
# ko.sh
progid="ko.sh"
dttm=`date +"%Y%m%d_%H%M%S"`
htmls="links.htm*"
htmls="index.htm*"
todir="go/allaboutgo/"
if [ "$1" == "" ]; then
echo "$progid $dttm htmls=$htmls todir=$todir"
echo "$progid scp"
echo "$progid scp go"
echo ""
echo "$progid items"
echo "$progid items go"
echo ""
echo "$progid vi"
exit;
fi
if [ "$1" == "vi" ] || [ "$1" == "vi" ]; then
echo "vi $progid"; vi $progid; exit;
fi
if [ "$1" == "scp" ] || [ "$1" == "scp" ]; then
echo "$progid $dttm htmls=$htmls todir=$todir"
echo "$progid $dttm konet@ka2 ========================================"
echo "ssh $htmls konet@ka2:/Volumes/ka2tbr1/ht/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp $htmls konet@ka2:/Volumes/ka2tbr1/ht/$todir
fi
echo "$progid $dttm mackbookpro@jsk2 ========================================"
echo "ssh $htmls macbookpro@jsk:~/docker/nginx/public/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp $htmls macbookpro@jsk:~/docker/nginx/public/$todir
fi
echo ""
echo "$progid $dttm ko0.us ========================================"
echo "scp -P 2250 $htmls kozerus@ko0.us:~/public_html/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp -P 2250 $htmls kozerus@ko0.us:~/public_html/$todir
fi
echo ""
echo "$progid $dttm ko2.us ========================================"
echo "scp -P 2250 $htmls kotwous@ko2.us:~/public_html/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp -P 2250 $htmls kotwous@ko2.us:~/public_html/$todir
fi
echo ""
echo "$progid $dttm konet.org -------------------------------------"
echo "scp -P 2250 $htmls kotwous@ko2.us:~/public_html/konet/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp -P 2250 $htmls kotwous@ko2.us:~/public_html/konet/$todir
fi
echo ""
echo "$progid $dttm ko1.us -------------------------------------"
echo "scp -P 2250 $htmls kotwous@ko2.us:~/public_html/ko1/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp -P 2250 $htmls kotwous@ko2.us:~/public_html/ko1/$todir
fi
echo ""
echo "$progid $dttm iperms.com -------------------------------------"
echo "scp -P 2250 $htmls kotwous@ko2.us:~/public_html/iperms/$todir"
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ]; then
scp -P 2250 $htmls kotwous@ko2.us:~/public_html/iperms/$todir
fi
echo ""
dttm=`date +"%Y%m%d_%H%M%S"`
echo "$progid $dttm done"
echo ""
exit
fi
if [ "$1" == "items" ]; then
items=`ls *.htm*`
echo "$progid $dttm items=$items"
# OLDIFS=$IFS; IFS="\n";
for item in $items; do
dttm=`date +"%Y%m%d_%H%M%S"`
let j=j+1;
newfil="_NEWFIL_"
newfil=`echo $item | sed -e "s:^:new_:" | sed -e "s:.html:.txt:"`
id=`printf $item | sed -e "s:.html::"`
printf "$progid $dttm $j,$k ITEMS item=$item id=$id newfil=$newfil ------------------\n";
if [ "$usrcmd" != "g" ]; then
read -e -p "q=quit s=skip g=go enter=continue: " usrcmd
if [ "$usrcmd" == "q" ]; then exit; fi
if [ "$usrcmd" == "s" ]; then continue; fi
if [ "$usrcmd" == "q" ]; then usrcmd=""; fi
if [ "$usrcmd" == "" ]; then usrcmd="prompt"; fi
fi
if [ "$2" == "go" ] || [ "$3" == "go" ] || [ "$4" == "go" ] || [ "$5" == "go" ]; then
printf "$progid $dttm $j,$k ITEMS GO item=$item ==================\n";
fi
done
# IFS=$OLDIFS
dttm=`date +"%Y%m%d_%H%M%S"`
printf "$progid $dttm $j,$k ITEMS DONE item=$item ==================\n";
echo ""
exit
fi
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer