From: konrad Date: Mon, 31 May 2010 19:52:25 +0000 (+0000) Subject: rsync script X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e606bd4ab06b1b72cd5e7c3433a81bc11df972a9;p=web%2Fkonrad%2Fsmoke.git rsync script git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@488 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/syncweb.sh b/www/syncweb.sh new file mode 100644 index 0000000..89c4383 --- /dev/null +++ b/www/syncweb.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +#target host and directory +TARGET=silmor.de:/home/web/htdocs.tpahl +SSH='ssh -l konrad' + +rsync -vruLpEtz --exclude=.svn --exclude='*~' --exclude=syncweb.sh --exclude=config.php -e "$SSH" . "$TARGET"