sbin/sync/sync_live
changeset 116 9cafe2c0fb81
parent 64 162c1de6545a
child 118 93d9cbad255d
equal deleted inserted replaced
115:04d2e318a2e4 116:9cafe2c0fb81
     9 #text2unix ~/tmp/tweet_live_V$1
     9 #text2unix ~/tmp/tweet_live_V$1
    10 
    10 
    11 if [ -d ~/tmp/tweet_live_V$1 ]; then
    11 if [ -d ~/tmp/tweet_live_V$1 ]; then
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/amateur/live/
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/amateur/live/
    13 + core
    13 + core
       
    14 P config.php
    14 EOT
    15 EOT
    15 fi
    16 fi
    16 
    17 
    17 if [ -d ~/tmp/tweet_live_V$1 ]; then
    18 if [ -d ~/tmp/tweet_live_V$1 ]; then
    18     echo "Deleting temp export"
    19     echo "Deleting temp export"