File: publish.sh

package info (click to toggle)
xkeyboard-config 2.42-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,960 kB
  • sloc: xml: 9,883; python: 1,328; perl: 220; sh: 86; makefile: 22
file content (12 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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}"