summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync.sh b/sync.sh
index ea7696b..9ff8dfe 100755
--- a/sync.sh
+++ b/sync.sh
@@ -1,6 +1,8 @@
#!/bin/sh
rsync -e 'ssh -p 2221' -av \
+ --usermap=abaumann:http \
+ --groupmap=abaumann:http \
--delete-after \
--exclude '*~' \
- public_html/* root@andreasbaumann.cc:/srv/http/www.andreasbaumann.cc/.
+ public/. root@andreasbaumann.cc:/srv/http/www.andreasbaumann.cc/.