sbin/sync/sync_live
changeset 118 93d9cbad255d
parent 116 9cafe2c0fb81
child 125 ca3fa5dc7c75
equal deleted inserted replaced
117:6183d4969c10 118:93d9cbad255d
    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 P config.php
    15 EOT
    15 EOT
       
    16     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/www/live/
       
    17 + core
       
    18 P config.php
       
    19 EOT
    16 fi
    20 fi
    17 
    21 
    18 if [ -d ~/tmp/tweet_live_V$1 ]; then
    22 if [ -d ~/tmp/tweet_live_V$1 ]; then
    19     echo "Deleting temp export"
    23     echo "Deleting temp export"
    20     rm -fr ~/tmp/tweet_live_V$1;
    24     rm -fr ~/tmp/tweet_live_V$1;