#!/bin/sh
# This script is to download SuSE 9.1 FTP version
# 
# (c) G. Ballester Valor, 2003,2004 
# 
# (GPL licensed)
#
# Use it as your own risk
# 
# UNCOMMENT ONLY ONE LINE, depending on your mirror selection: 
#  (by default is set ftp.mirror.ac.uk)
#
# Usage:
#  1) put the script in the directory where you want to place the SuSE tree
#  2) exec the script
#     get_suse91
#  3) SuSE will be placed in 'i386/9.1/...' directory.
#   
#  NOTE, you can interrupt. Next time It will begin where it left the work.
#  _BE_PATIENT_, it has to download about 3.6 Gbytes.
#
#  Thanks to SuSE to make available this superb release.
#
#  This script WILL NOT DOWNLOAD source rpms  to save space. If you want 
#  to download also these files you have to supress ' -R "*.src.rpm" ' from
#  the commanline  
#  
#  If you want that your download don't get blocked your small banwidth line,
#  you can add the option '--limit-rate=NUM_KBPS' before 'ftp:' were NUM_KBPS 
#  is the max KiloBytes per second you want to download 
#
#  ENJOY!. Have a lot of fun! ;-)
#
#  NOTE: SuSE says its FTP version will available from Jun 04. Don't try it
#   before this date
#
ver=9.1
wget -t 0 -m -nH -c --cut-dirs=4 -R "*.src.rpm" ftp://ftp.mirror.ac.uk/sites/ftp.suse.com/pub/suse/i386/${ver}/*

# wget -t 0 -m -nH -c --cut-dirs=5 -R "*.src.rpm" ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/i386/${ver}/*

# wget -t 0 -m -nH -c --cut-dirs=6 -R "*.src.rpm" ftp://ftp.rediris.es/pub/linux/distributions/suse/pub/suse/i386/${ver}/*

# wget -t 0 -m -nH -c --cut-dirs=2 -R "*.src.rpm" ftp://mirror.mcs.anl.gov/pub/ftp.suse.com/i386/${ver}/*

