summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-09-02 05:06:38 (GMT)
committerSteven Knight <knight@baldmt.com>2002-09-02 05:06:38 (GMT)
commit08ecd797ee635637097196960ea6a90e8dd29d62 (patch)
treefa792310acb64fa752b461f67325189cd13a9dd2
parentda5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07 (diff)
downloadSCons-08ecd797ee635637097196960ea6a90e8dd29d62.zip
SCons-08ecd797ee635637097196960ea6a90e8dd29d62.tar.gz
SCons-08ecd797ee635637097196960ea6a90e8dd29d62.tar.bz2
Add a script to rsync the Aegis repository to SourceForge
-rw-r--r--bin/rsync-sourceforge32
1 files changed, 32 insertions, 0 deletions
diff --git a/bin/rsync-sourceforge b/bin/rsync-sourceforge
new file mode 100644
index 0000000..de44e3b
--- /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}/.