DIR : /home/kozerus/public_html/ka/ka_scp.sh

/home/kozerus/public_html/ka

# ka_scp.sh

progid="ka_scp.sh"
dttm=`date +"%Y%m%d_%H%M%S"`

ffil="./kassil_anneliese/index.htm*"
fdir="./kassil_anneliese"
tdir="ka/kassil_anneliese"

	if [ "$1" == "" ]; then
		echo "$progid $dttm"
		echo "ffil=$ffil tdir=$tdir"
		echo "fdir=$fdir tdir=$tdir"
		echo " "
		echo "./$progid vi"
		echo "./$progid go"
		echo "./$progid scpf go"
		echo "./$progid scpd go"
		exit
		fi

	if [ "$1" == "vi" ]; then
		if [ -f $progid ]; then
			vi $progid
		else
			echo "ERR_NOTFOUND progid=$progid"
			fi
		exit
		fi

	if [ "$1" == "scp" ] || [ "$1" == "scpf" ] || [ "$1" == "go" ]; then
		echo "scp -P 2250  $ffil kozerus@ko0.us:~/public_html/$tdir"
		if [ "$2" == "go" ]; then
			scp -P 2250  $ffil kozerus@ko0.us:~/public_html/$tdir
			fi
		echo "scp -P 2250  $ffil kotwous@ko2.us:~/public_html/$tdir"
		if [ "$2" == "go" ]; then
			scp -P 2250  $ffil kotwous@ko2.us:~/public_html/$tdir
			fi




		exit
		fi

	if [ "$1" == "scp" ] || [ "$1" == "scpd" ]; then
		echo "scp -P 2250 -r $fdir kozerus@ko0.us:~/public_html/$tdir"
		if [ "$2" == "go" ]; then
			scp -P 2250 -r $fdir kozerus@ko0.us:~/public_html/$tdir
			fi

		echo "scp -P 2250 -r $fdir kotwous@ko2.us:~/public_html/$tdir"
		if [ "$2" == "go" ]; then
			scp -P 2250 -r $fdir kotwous@ko2.us:~/public_html/$tdir
			fi
		exit
		fi

//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer