update sync script
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 23 May 2011 17:41:18 +0200
changeset 146 6fbf5a793fe9
parent 142 0cb72274ec46
child 147 088aa79c7316
update sync script
sbin/sync/sync_live
--- a/sbin/sync/sync_live	Thu May 12 16:11:28 2011 +0200
+++ b/sbin/sync/sync_live	Mon May 23 17:41:18 2011 +0200
@@ -19,6 +19,11 @@
 P config.php
 P .htaccess
 EOT
+    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/polemictweet/
++ core
+P config.php
+P .htaccess
+EOT
 fi
 
 if [ -d ~/tmp/tweet_live_V$1 ]; then