df2daf524d
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
15 lines
208 B
Bash
Executable file
15 lines
208 B
Bash
Executable file
DIR="$1"
|
|
DEST="$2"
|
|
hier="/home/server/git/$DIR/"
|
|
there="git.schottelius.org:/home/server/git/$DEST"
|
|
|
|
echo "$hier to $there?"
|
|
read bar
|
|
|
|
|
|
rsync -av "$hier" "$there"
|
|
|
|
|
|
echo "ok?"
|
|
read foo
|
|
echo rm -rf "$hier"
|