Issue 2159: Man page formatting errors for Packaging()
[scons.git] / bin / rsync-sourceforge
1 #!/bin/sh
2 #
3 # Sync this directory tree with sourceforge.
4 #
5 # Cribbed and modified from Peter Miller's same-named script in
6 # /home/groups/a/ae/aegis/aegis at SourceForge.
7 #
8 # Guide to what this does with rsync:
9 #
10 #   --rsh=ssh          use ssh for the transfer
11 #   -l                 copy symlinks as symlinks
12 #   -p                 preserve permissions
13 #   -r                 recursive
14 #   -t                 preserve times
15 #   -z                 compress data
16 #   --stats            file transfer statistics
17 #   --exclude          exclude files matching the pattern
18 #   --delete           delete files that don't exist locally
19 #   --delete-excluded  delete files that match the --exclude patterns
20 #   --progress         show progress during the transfer
21 #   -v                 verbose
22 #
23 LOCAL=/home/scons/scons
24 REMOTE=/home/groups/s/sc/scons/scons
25 /usr/bin/rsync --rsh=ssh -l -p -r -t -z --stats \
26         --exclude build \
27         --exclude "*,D" \
28         --exclude "*.pyc" \
29         --exclude aegis.log \
30         --delete --delete-excluded \
31         --progress -v \
32         ${LOCAL}/. scons.sourceforge.net:${REMOTE}/.