eureka/deploy.sh

9 lines
181 B
Bash
Executable file

#!/bin/sh
DEST="nilix@lynx.uberspace.de:~/lib/nilfm/"
if [ -z "$1" ]; then
rsync -avK --delete ../ ${DEST}
elif [ "$1" = "--resync" ]; then
rsync -avk --delete ${DEST} ../
fi