SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mason Schmitt <[log in to unmask]>
Reply To:
Mason Schmitt <[log in to unmask]>
Date:
Thu, 7 Dec 2006 15:23:21 -0800
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (661 bytes) , index.html (4 kB) , SL_rsync_mirror (4 kB)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan,

I have a mirror setup that I maintain by running the attached script
from cron.daily.  As well, I have an internal website (attached the
index.html page) setup for the mirror that helps out with installation
instructions and some basic documentation.

- --
Mason Schmitt
Systems Administrator
Sunwave Cable Internet / Shuswap Internet Junction
ph: (250) 832-9711
www.sunwave.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFeKJpbip6upg8pq8RAtftAJ9kXP6G5lJSJx2XZ0pqQcMfbnTH/ACfWzUx
6BYIhC+eerCYJijLvsNnkOU=
=DJ4y
-----END PGP SIGNATURE-----



#!/bin/bash QUIET_OPTIONS="--delete-excluded -qrztLH" DEBUG_OPTIONS="--progress --stats --delete-excluded -vrztLHn" GENERIC_EXCLUDES="                    --exclude=/ia64 \                    --exclude=/x86_64 \                    --exclude=/SRPMS \                    --exclude=/archives \                    --exclude=/i386/apt \                    --exclude=/i386/contrib/SRPMS \                    --exclude=/i386/errata/debuginfo \                    --exclude=/i386/errata/obsolete \                    --exclude=/i386/sites/Fermi \                    --exclude=/iso/ia64 \                    --exclude=/iso/x86_64 \ " GENERIC_INCLUDES="" DEBUG='false' if [ "$1" = '-d' ]; then         OPTIONS=$DEBUG_OPTIONS         echo "You are running in debug mode. No files will be downloaded, you will just see what would happen"         DEBUG='true' else         OPTIONS=$QUIET_OPTIONS fi # Scientific Linux rsync $OPTIONS $GENERIC_INCLUDES $GENERIC_EXCLUDES rsync://rsync.scientificlinux.org/scientific/4x/ /opt/scientific_linux/4x/ if [ "$DEBUG" = 'false' ]; then         # send a report of all files, in /opt/scientific_linux that have changed since the last rsync run         find /opt/scientific_linux/ -cmin -1380 | cut -c9- | \              mail ******@******** -s "Newly rsynced SL files on SL mirror - `date`" fi

ATOM RSS1 RSS2