Increase verbosity on repo syncronization script
This commit is contained in:
parent
cd6c36ab26
commit
940db74f54
@ -8,7 +8,13 @@ MIRRORS_SRC="${MIRRORS_SRC:-ftp.altlinux.org}"
|
|||||||
MIRRORS_DEST="${MIRRORS_DEST:-/data/mirrors/alt}"
|
MIRRORS_DEST="${MIRRORS_DEST:-/data/mirrors/alt}"
|
||||||
PLATFORM="${PLATFORM:-p8}"
|
PLATFORM="${PLATFORM:-p8}"
|
||||||
|
|
||||||
mkdir -p "${MIRRORS_DEST}/${PLATFORM}"
|
RSYNC_SRC="rsync://${MIRRORS_SRC}/altlinux/${PLATFORM}/branch"
|
||||||
|
RSYNC_DST="${MIRRORS_DEST}/${PLATFORM}/"
|
||||||
|
|
||||||
|
mkdir -p "${RSYNC_DST}"
|
||||||
|
|
||||||
|
echo "Rsyncing from: ${RSYNC_SRC}"
|
||||||
|
echo "Rsyncing to: ${RSYNC_DST}"
|
||||||
|
|
||||||
/usr/bin/rsync \
|
/usr/bin/rsync \
|
||||||
--timeout=6000 \
|
--timeout=6000 \
|
||||||
@ -17,6 +23,6 @@ mkdir -p "${MIRRORS_DEST}/${PLATFORM}"
|
|||||||
--stats \
|
--stats \
|
||||||
--delete-after \
|
--delete-after \
|
||||||
--exclude 'SRPMS*/' \
|
--exclude 'SRPMS*/' \
|
||||||
"rsync://${MIRRORS_SRC}/altlinux/${PLATFORM}/branch" \
|
"${RSYNC_SRC}" \
|
||||||
"${MIRRORS_DEST}/${PLATFORM}/"
|
"${RSYNC_DST}/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user