summaryrefslogtreecommitdiff
blob: e01d782556fd4caedea5f410e2b9bbf99fb008ed (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copyright 2011-2015 Gentoo Authors; Distributed under the GPL v2

FINALDIR="/data/mirror"
PASSWD_FILE=""
RSYNC="/usr/bin/rsync"
RSYNC_ARGS="--recursive --links --perms --times --delete --hard-links --no-motd --timeout=300 ${PASSWD_FILE:+--password-file }${PASSWD_FILE}"
RSYNC_ARGS="${RSYNC_ARGS} --quiet"

module=experimental
${RSYNC} ${RSYNC_ARGS} masterreleases.gentoo.org::${module}/ ${FINALDIR}/${module}/