summaryrefslogtreecommitdiff
path: root/scripts/publish.sh
blob: 6d918e01be30532aa6ab7db38c531dcb330923d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ $# -lt 1 ] ; then
	echo "Usage: $0 filename (acc)"
	exit 1
fi

file=$1
acc=${2:-svu}

scp "$file" ${acc}@www.x.org:/home/svu/public_html
echo "Check on http://www.x.org/~${acc}"