nsbin/git-mv.sh
Nico Schottelius df2daf524d init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
2017-07-19 17:15:41 +02:00

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"