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