view web/upload.sh @ 1756:6e2b5eee7e0a

fixed emitting of error signal from image loader
author nadvornik
date Thu, 24 Sep 2009 18:02:29 +0000
parents 08e1522af78e
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

echo -n "SF username: "
read username

rsync -avP -C --copy-links --exclude "*.sh" --exclude "Makefile*" -e ssh ./ $username,geeqie@web.sourceforge.net:htdocs/