Some command line options are not GNU/POSIX compliant (3)
[geeqie.git] / web / upload.sh
1 #!/bin/sh
2
3 if [ "${PWD##*/}" != "web" ] ; then
4   echo $0 must be called from directory \"web\"
5   exit 1;
6 fi
7
8 # later we can include user manual
9 # ln -sf ../doc
10
11 chmod -R a+rX .
12 rsync --archive \
13    --verbose \
14    --partial \
15    --progress \
16    --copy-links \
17    --keep-dirlinks \
18    --delete \
19    --exclude "*.bak" \
20    --exclude .xvpics \
21    --exclude .thumbnails \
22    --exclude .wml \
23    --exclude "*.wml" \
24    --exclude "*~" \
25    --exclude .gitignore \
26    --exclude Makefile \
27    --exclude .wmlrc \
28    --exclude .wmkrc \
29    --exclude sync \
30    --exclude "*.sh" \
31    --exclude ".*.swp" \
32    ./ tschil:/srv/www/geeqie.org/