view web/upload.sh @ 1710:1b790ab146ab

do not reload image on copy, move, rename and external editor changed files should be detected anyway http://sourceforge.net/tracker/index.php?func=detail&aid=2848373&group_id=222125&atid=1054680
author nadvornik
date Thu, 03 Sep 2009 19:18:20 +0000
parents c69e08a6c539
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/