rsync script
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Mon, 31 May 2010 19:52:25 +0000 (19:52 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Mon, 31 May 2010 19:52:25 +0000 (19:52 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@488 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

www/syncweb.sh [new file with mode: 0644]

diff --git a/www/syncweb.sh b/www/syncweb.sh
new file mode 100644 (file)
index 0000000..89c4383
--- /dev/null
@@ -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"