]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/blob - fetch-scripts/ubuntu-releases
Put the fetch scripts in a subdirectory
[sipb-mirrors.git] / fetch-scripts / ubuntu-releases
1 #!/bin/sh
2
3 . ../OPTIONS.sh
4
5 RSYNCSOURCE=rsync://releases.ubuntu.com/releases
6 #RSYNCSOURCE=rsync://ubuntu.media.mit.edu/ubuntu-releases
7 BASEDIR=${MIRRORDIR}/ubuntu-releases
8
9 rsync --recursive --times --links --hard-links \
10       --stats \
11       -P \
12       --exclude "Packages*" --exclude "Sources*" \
13       --exclude "Release*" \
14       ${RSYNCSOURCE} ${BASEDIR} | tee -a ~/rsync.log
15
16 rsync --recursive --times --links --hard-links \
17       --stats --delete --delete-after \
18       -P \
19       --exclude "project/trace/${HOSTNAME}" \
20       ${RSYNCSOURCE} ${BASEDIR} | tee -a ~/rsync.log