build/sbin/sync_site_iri
branchwordpress
changeset 134 f445f2aa8c33
parent 133 c0473fcf3be5
equal deleted inserted replaced
133:c0473fcf3be5 134:f445f2aa8c33
     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/***
       
    24 P wp-config.php
    19 P wp-config.php
       
    20 P .htaccess
       
    21 P google*.html
    25 EOT
    22 EOT
    26 fi
    23 fi
    27 
    24 
    28 if [ -d ~/tmp/site_iri_V$1 ]; then
    25 if [ -d ~/tmp/site_iri_V$1 ]; then
    29     echo "Deleting temp export"
    26     echo "Deleting temp export"