view web/upload.sh @ 1711:f5eb4241a827

fixed in-place rename
author nadvornik
date Thu, 03 Sep 2009 20:00:40 +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/