view web/upload.sh @ 1766:6e0f6d5e4c25

added a workaround for https://bugzilla.gnome.org/show_bug.cgi?id=590692
author nadvornik
date Sat, 10 Oct 2009 15:01:41 +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/