sbin/sync/sync_live
changeset 148 47fac39ed434
parent 146 6fbf5a793fe9
child 152 7b939dc01fa3
equal deleted inserted replaced
147:088aa79c7316 148:47fac39ed434
     7 hg archive -r V$1 ~/tmp/tweet_live_V$1
     7 hg archive -r V$1 ~/tmp/tweet_live_V$1
     8 
     8 
     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/
       
    13 + core
       
    14 P config.php
       
    15 P .htaccess
       
    16 EOT
       
    17     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/www/live/
       
    18 + core
       
    19 P config.php
       
    20 P .htaccess
       
    21 EOT
       
    22     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/polemictweet/
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/polemictweet/
    23 + core
    13 + core
    24 P config.php
    14 P config.php
    25 P .htaccess
    15 P .htaccess
    26 EOT
    16 EOT