sbin/sync/sync_live
changeset 146 6fbf5a793fe9
parent 125 ca3fa5dc7c75
child 148 47fac39ed434
equal deleted inserted replaced
142:0cb72274ec46 146:6fbf5a793fe9
    17     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/
    18 + core
    18 + core
    19 P config.php
    19 P config.php
    20 P .htaccess
    20 P .htaccess
    21 EOT
    21 EOT
       
    22     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@www.iri.centrepompidou.fr:/home/polemictweet/
       
    23 + core
       
    24 P config.php
       
    25 P .htaccess
       
    26 EOT
    22 fi
    27 fi
    23 
    28 
    24 if [ -d ~/tmp/tweet_live_V$1 ]; then
    29 if [ -d ~/tmp/tweet_live_V$1 ]; then
    25     echo "Deleting temp export"
    30     echo "Deleting temp export"
    26     rm -fr ~/tmp/tweet_live_V$1;
    31     rm -fr ~/tmp/tweet_live_V$1;