view web/upload.sh @ 2902:1c3289d48273

add headline field
author Igor Ippolitov <iippolitov@gmail.com>
date Mon, 20 Aug 2018 18:30:44 +0300
parents 41ff0bdf1c66
children
line wrap: on
line source

#!/bin/sh

if [ "${PWD##*/}" != "web" ] ; then
  echo $0 must be called from directory \"web\"
  exit 1;
fi

# later we can include user manual
# ln -sf ../doc

chmod -R a+rX .
rsync --archive \
   --verbose \
   --partial \
   --progress \
   --copy-links \
   --keep-dirlinks \
   --delete \
   --exclude "*.bak" \
   --exclude .xvpics \
   --exclude .thumbnails \
   --exclude .wml \
   --exclude "*.wml" \
   --exclude "*~" \
   --exclude .gitignore \
   --exclude Makefile \
   --exclude .wmlrc \
   --exclude .wmkrc \
   --exclude sync \
   --exclude "*.sh" \
   --exclude ".*.swp" \
   ./ tschil:/srv/www/geeqie.org/