nsbin/pre_release
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

13 lines
242 B
Bash
Executable file

#!/bin/sh
file=$1
host=creme.schottelius.org
dir=public_html/pre-release/
url="http://schotteli.us/~nico/pre-release"
[ -z "$file" ] && exit 1
scp "$file" "${host}:$dir"
ssh $host "chmod a+r $dir/$file"
echo "Pre-released ${url}/${file}"