On Sun, 21 Oct 2001 at 21:13, Horatio B. Bogbindero wrote:
> hello dude,

William, this is so not you. Hahaha. Singular pa. ;>

> i have got brains for mush tonight and am nothing thinking right yet.

William, this is indeed not you. Who is at the keyboard?

/s/nothing/not/
/s/brains for mush/mush for brains/

(Kidding my friend) ;>

> must be the semestral break syndrome.

Lucky you. Mine's not yet begun. And already I have mush for brains. I
have two reports that I have yet to do. And they're all due tomorrow. I've
got an hour and a half. ;>

> anyway, i would like to keep a sufficiently updated copy of the
> updates of the RedHat site for their latest RH of course. what is the
> best way to do it?

0. The best way to do it is to use Debian and "apt-get dist-upgrade". Just
kidding.

1. You can use wget. But this isn't very efficient with updates (although
it's pretty good at grabbing a site once). IMHO.

2. You can use lftp. But again I have the same comments with this as wget.

3. You can use rsync. I find that this is the fastest when it comes to
updating, and I use this myself to update my repositories of the LDP, the
Mandrake and the RedHat updates. My script runs nightly, or whenever I
decide to run it outside of schedule. Attached please find my crazy bash
script, update-mirrors.

4. You can regularly buy Update Collection CDs from me. Aside from your
choice of distribution updates, you get the latest kernel, Alan Cox patch,
and XFS CVS tree complete with userland tools. This is the absolute best.
Aside from not wasting your online time downloading crazy updates, you
help a fellow PLUGger earn some money for his family business (yeah,
that's me). What's more, if you're interested in a prepaid (yan naman ang
uso ngayon eh) subscription program, I'm willing to whip up a deal with
you. And it'll get delivered to your doorstep. Unfortunately there will be
extra courier charges. But the more CDs you want to have regularly shipped
to you, the lower the per-CD cost of shipping becomes! (Man, I'm sound
waaay too marketing here). ;>

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://jijo.leathercollection.ph/jijo.gpg>
#! /bin/sh

RSYNC='/usr/bin/rsync'
RSYNC_PROXY='127.0.0.1:3128'
RSYNC_OPTIONS="--archive --quiet --compress --delete --copy-unsafe-links"

HOST_LDP="[EMAIL PROTECTED]"
LDIR_LDP="/var/lib/www/ldp/"
RDIR_LDP="ldp_mirror/"

HOST_PSU=carroll.cac.psu.edu

LDIR_MANDRAKESNF72="/file-library/mirror/updates/mandrake/snf7.2/"
RDIR_MANDRAKESNF72="mandrake/updates/snf7.2/"
LDIR_MANDRAKE80="/file-library/mirror/updates/mandrake/8.0/"
RDIR_MANDRAKE80="mandrake/updates/8.0/"
LDIR_MANDRAKE81="/file-library/mirror/updates/mandrake/8.1/"
RDIR_MANDRAKE81="mandrake/updates/8.1/"
LDIR_REDHAT71="/file-library/mirror/updates/redhat/7.1/"
RDIR_REDHAT71="redhat/linux/updates/7.1/en/"

# web mirrors
$RSYNC $RSYNC_OPTIONS rsync://$HOST_LDP/$RDIR_LDP $LDIR_LDP

# distribution updates
$RSYNC $RSYNC_OPTIONS --exclude '/.*' rsync://$HOST_PSU/$RDIR_MANDRAKE80 
$LDIR_MANDRAKE80
$RSYNC $RSYNC_OPTIONS --exclude '/.*' rsync://$HOST_PSU/$RDIR_MANDRAKE81 
$LDIR_MANDRAKE81
$RSYNC $RSYNC_OPTIONS --exclude '/.*' rsync://$HOST_PSU/$RDIR_MANDRAKESNF72 
$LDIR_MANDRAKESNF72
$RSYNC $RSYNC_OPTIONS --exclude '/.*' rsync://$HOST_PSU/$RDIR_REDHAT71 $LDIR_REDHAT71

Reply via email to