Category:Linux: Difference between revisions

From Skytech
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
#!/bin/bash

RSYNC="/usr/bin/rsync"
OPTS="--recursive --links --perms --times -D --delete --timeout=300"
#Uncomment the following line only if you have been granted access to masterportage.gentoo.org
#SRC="rsync://masterportage.gentoo.org/gentoo-portage"
#If you are waiting for access to our master mirror, select one of our mirrors to mirror from:
SRC="rsync://rsync.de.gentoo.org/gentoo-portage"
DST="/home/mirroruser/gentoo/rsync/"

echo "Started update at" `date` >> $0.log 2>&1
logger -t rsync "re-rsyncing the gentoo-portage tree"
${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1

echo "End: "`date` >> $0.log 2>&1

Revision as of 18:47, 11 March 2011

  1. !/bin/bash

RSYNC="/usr/bin/rsync" OPTS="--recursive --links --perms --times -D --delete --timeout=300"

  1. Uncomment the following line only if you have been granted access to masterportage.gentoo.org
  2. SRC="rsync://masterportage.gentoo.org/gentoo-portage"
  3. If you are waiting for access to our master mirror, select one of our mirrors to mirror from:

SRC="rsync://rsync.de.gentoo.org/gentoo-portage" DST="/home/mirroruser/gentoo/rsync/"

echo "Started update at" `date` >> $0.log 2>&1 logger -t rsync "re-rsyncing the gentoo-portage tree" ${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1

echo "End: "`date` >> $0.log 2>&1

Pages in category "Linux"

The following 135 pages are in this category, out of 135 total.