#!/bin/sh REMOTE_HOST=shell.sourceforge.net REMOTE_PATH=/home/users/s/sd/sdunlop/cloudwiki/htdocs/doc/ LOCAL_PATH=$HOME/Production/CloudWiki/manual/ RSYNC_OPTS="--rsh=ssh --recursive --links --perms --times --force" RSYNC_OPTS="$RSYNC_OPTS --compress --include-from=- --verbose --delete" rm -rf $LOCAL_PATH mkdir $LOCAL_PATH cat >>$LOCAL_PATH/.htaccess <<EOF DefaultType text/html EOF ./scripts/cloud-wiki backup-html $LOCAL_PATH chmod -R 0644 $LOCAL_PATH chmod a+x $LOCAL_PATH rsync $RSYNC_OPTS $LOCAL_PATH $REMOTE_HOST:$REMOTE_PATH <<EOF + ** EOF
This node is a part of the Cloud Wiki Manual.