build/sbin/sync_site_iri
changeset 136 bde1974c263b
parent 69 efb7b63192e1
child 156 533324f04319
equal deleted inserted replaced
135:53cff4b4a802 136:bde1974c263b
     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 P apps/***
    13 P apps/***
    14 P archive/***
       
    15 P documents/***
    14 P documents/***
    16 P .htpasswd
    15 P .htpasswd
    17 P messages/***
       
    18 P munin/***
    16 P munin/***
    19 P robot.txt
       
    20 P shotdetect/***
    17 P shotdetect/***
    21 P tmp/***
       
    22 P wiki/***
    18 P wiki/***
    23 P thdculture/***
    19 P wp-config.php
       
    20 P .htaccess
       
    21 P google*.html
    24 EOT
    22 EOT
    25 fi
    23 fi
    26 
    24 
    27 if [ -d ~/tmp/site_iri_V$1 ]; then
    25 if [ -d ~/tmp/site_iri_V$1 ]; then
    28     echo "Deleting temp export"
    26     echo "Deleting temp export"