Mercurial > geeqie.yaz
view web/upload.sh @ 1748:b8d37cc79410
copy_file(): remove incomplete file on error (bug 2890715)
The behavior changed, data is first written to a temporary file,
which is unlinked in case of error, then the tempfile is renamed
to the final name.
Size of buffer was increased from 4k to 16k.
author | zas_ |
---|---|
date | Sun, 10 Jan 2010 14:23:29 +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/