build/sbin/sync_site_iri
changeset 159 cb80efdd1330
parent 156 533324f04319
child 169 2d410dc8c1f3
equal deleted inserted replaced
158:d8a5c5752ba2 159:cb80efdd1330
     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 --delete --filter=". -" ~/tmp/site_iri_V$1/ www.iri.centrepompidou.fr:/home/www/
    13 + core
    13 + core
       
    14 P google?.html
       
    15 P .htpasswd
       
    16 P .htaccess
       
    17 P **/wp-config.php
    14 P apps/***
    18 P apps/***
    15 P documents/***
    19 P documents/***
    16 P .htpasswd
       
    17 P munin/***
    20 P munin/***
    18 P shotdetect/***
    21 P shotdetect/***
    19 P wiki/***
    22 P wiki/***
    20 P wp-config.php
       
    21 P .htaccess
       
    22 P google*.html
       
    23 EOT
    23 EOT
    24 fi
    24 fi
    25 
    25 
    26 if [ -d ~/tmp/site_iri_V$1 ]; then
    26 if [ -d ~/tmp/site_iri_V$1 ]; then
    27     echo "Deleting temp export"
    27     echo "Deleting temp export"