build/sbin/sync_site_iri
changeset 169 2d410dc8c1f3
parent 159 cb80efdd1330
child 171 97141c5a1549
equal deleted inserted replaced
168:b7092b3abf9d 169:2d410dc8c1f3
     7 svn export file:///iridata/svn/site_iri/tags/V$1/web ~/tmp/site_iri_V$1
     7 svn export file:///iridata/svn/site_iri/tags/V$1/web ~/tmp/site_iri_V$1
     8 
     8 
     9 #text2unix ~/tmp/site_iri_V$1
     9 #text2unix ~/tmp/site_iri_V$1
    10 
    10 
    11 if [ -d ~/tmp/site_iri_V$1 ]; then
    11 if [ -d ~/tmp/site_iri_V$1 ]; then
    12 	cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/site_iri_V$1/ www.iri.centrepompidou.fr:/home/www/
    12 	cat <<EOT | rsync -Cvrlz --size-only --delete --filter=". -" ~/tmp/site_iri_V$1/ www.iri.centrepompidou.fr:/home/www/
    13 + core
    13 + core
    14 P google?.html
    14 P google?.html
    15 P .htpasswd
    15 P .htpasswd
    16 P .htaccess
    16 P .htaccess
    17 P **/wp-config.php
    17 P **/wp-config.php
    18 P apps/***
    18 P apps/***
    19 P documents/***
    19 P documents/***
    20 P munin/***
    20 P munin/***
    21 P shotdetect/***
    21 P shotdetect/***
    22 P wiki/***
    22 P wiki/***
       
    23 P wp-content/uploads/***
       
    24 - wp-content/uploads/***
    23 EOT
    25 EOT
    24 fi
    26 fi
    25 
    27 
    26 if [ -d ~/tmp/site_iri_V$1 ]; then
    28 if [ -d ~/tmp/site_iri_V$1 ]; then
    27     echo "Deleting temp export"
    29     echo "Deleting temp export"