annotate web/upload.sh @ 1781:95a013ade7e2

Fix bug 2917164. g_utf8_collate_key_for_filename() don't give sort order one may expect. Using g_utf8_collate_key() make things closer to many other programs output (ie. ls and gqview). Thanks to Michael pointing this out.
author zas_
date Sat, 19 Dec 2009 12:53:20 +0000
parents 08e1522af78e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1712
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
1 #!/bin/sh
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
2
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
3 if [ "${PWD##*/}" != "web" ] ; then
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
4 echo $0 must be called from directory \"web\"
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
5 exit 1;
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
6 fi
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
7
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
8 # later we can include user manual
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
9 # ln -sf ../doc
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
10
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
11 echo -n "SF username: "
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
12 read username
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
13
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
14 rsync -avP -C --copy-links --exclude "*.sh" --exclude "Makefile*" -e ssh ./ $username,geeqie@web.sourceforge.net:htdocs/