| author | cavaliet |
| Wed, 14 Nov 2012 18:30:14 +0100 | |
| changeset 13 | 15fe9052fb2d |
| parent 6 | 656e95e8cbc1 |
| permissions | -rw-r--r-- |
|
1
c333862362f3
First commit, folder structure, css, js and img, plus each movie page.
cavaliet
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
| 6 | 2 |
set -e |
3 |
if [ -d ~/tmp/bobines2012_V$1 ]; then |
|
4 |
rm -fr ~/tmp/bobines2012_V$1; |
|
5 |
fi |
|
6 |
||
7 |
hg archive -r V$1 ~/tmp/bobines2012_V$1 |
|
8 |
||
9 |
#text2unix ~/tmp/bobines2012_V$1 |
|
10 |
||
11 |
if [ -d ~/tmp/bobines2012_V$1 ]; then |
|
12 |
cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/bobines2012_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/iri-research/labs/bobines-feministes/ |
|
13 |
+ core |
|
14 |
P robots.txt |
|
15 |
EOT |
|
16 |
fi |
|
17 |
||
18 |
if [ -d ~/tmp/bobines2012_V$1 ]; then |
|
19 |
echo "Deleting temp export" |
|
20 |
rm -fr ~/tmp/bobines2012_V$1; |
|
21 |
fi |
|
22 |