[PLUG] how to get a copy of the red hat errata files?

Colin Kuskie ckuskie at dalsemi.com
Tue Apr 16 16:22:56 UTC 2002


On Mon, Apr 15, 2002 at 09:02:55PM -0700, Bruce Kingsland wrote:
> Dan Young's Log: StarDate 0412.0749:
> > I've found  ftp://limestone.uoregon.edu/redhat/updates/7.2/en/os/ to be 
> > reasonably fast and rarely at their anonymous user cap. Go Ducks!
> 
> This was great. took about 2-3 hours to collect 488MB. Couldn't use
> wget tho, had to use "ftp -iv ... mget *". Now, how do I discover
> collecting 'only new files'. I suppose a script is in order, any body
> got one handy?

This is my script for calling wget.  You need to modify it because
different hosts have different paths, but I've used it on U of O's ftp
site before.

Also, a while ago Paul Heinlein shared his script that does the same
thing using rsync.  You should be able to find it in the archives.

#!/usr/local/bin/tcsh
wget --mirror -np \
--no-host-directories \
--cut-dirs=5 \
--directory-prefix='/tmp/redhat_updates/7.2/en' \
-I/pub/linux/redhat/updates/7.2/os/ \
-X/pub/linux/redhat/updates/7.2/os/SRPMS \
-X/pub/linux/redhat/updates/7.2/os/ia64 \
-A'kde-i18n*,ttfonts-ja*,ttfonts-ko*' \
ftp://zeus.nmt.edu/pub/linux/redhat/updates/7.2/os

Colin




More information about the PLUG mailing list