3 # Sync this directory tree with sourceforge.
5 # Cribbed and modified from Peter Miller's same-named script in
6 # /home/groups/a/ae/aegis/aegis at SourceForge.
8 # Guide to what this does with rsync:
10 # --rsh=ssh use ssh for the transfer
11 # -l copy symlinks as symlinks
12 # -p preserve permissions
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
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 \
30 --delete --delete-excluded \
32 ${LOCAL}/. scons.sourceforge.net:${REMOTE}/.