From e7e965b15e05b6ac264b09ef60329d4875e3fdc2 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Mon, 2 Sep 2002 05:06:38 +0000 Subject: [PATCH] Add a script to rsync the Aegis repository to SourceForge git-svn-id: http://scons.tigris.org/svn/scons/trunk@456 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- bin/rsync-sourceforge | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 bin/rsync-sourceforge diff --git a/bin/rsync-sourceforge b/bin/rsync-sourceforge new file mode 100644 index 00000000..de44e3b5 --- /dev/null +++ b/bin/rsync-sourceforge @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Sync this directory tree with sourceforge. +# +# Cribbed and modified from Peter Miller's same-named script in +# /home/groups/a/ae/aegis/aegis at SourceForge. +# +# Guide to what this does with rsync: +# +# --rsh=ssh use ssh for the transfer +# -l copy symlinks as symlinks +# -p preserve permissions +# -r recursive +# -t preserve times +# -z compress data +# --stats file transfer statistics +# --exclude exclude files matching the pattern +# --delete delete files that don't exist locally +# --delete-excluded delete files that match the --exclude patterns +# --progress show progress during the transfer +# -v verbose +# +LOCAL=/home/scons/scons +REMOTE=/home/groups/s/sc/scons/scons +/usr/bin/rsync --rsh=ssh -l -p -r -t -z --stats \ + --exclude build \ + --exclude "*,D" \ + --exclude "*.pyc" \ + --exclude aegis.log \ + --delete --delete-excluded \ + --progress -v \ + ${LOCAL}/. scons.sourceforge.net:${REMOTE}/. -- 2.26.2