]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/blob - fetch-scripts/ctan
fix quick-fedora-mirror conf file name
[sipb-mirrors.git] / fetch-scripts / ctan
1 #!/bin/sh
2 # Modified from http://www.ctan.org/becoming_a_ctan_mirror.html
3
4 RSYNCSOURCE=rsync://rsync.dante.ctan.org/CTAN
5 BASEDIR=${MIRRORDIR}/CTAN
6
7 rsync --recursive --times --links --hard-links \
8       --stats \
9       --verbose \
10       --perms \
11       -D \
12       --group \
13       --owner \
14       --delete \
15       --timeout=300 \
16       ${RSYNCSOURCE} ${BASEDIR}