summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh
new file mode 100755
index 0000000..ea7696b
--- /dev/null
+++ b/sync.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+rsync -e 'ssh -p 2221' -av \
+ --delete-after \
+ --exclude '*~' \
+ public_html/* root@andreasbaumann.cc:/srv/http/www.andreasbaumann.cc/.