[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to copy the Debian-CD (with short 8.3 FN's) to my Harddiskwith LFN



Michelle Konzack wrote:
> 
> MK>> The other Thing is, how can I get a full FTP-Mirror (SLINK stable +
> src) ???
> MK>
> MK>Use wget, it had be designed for that.
> 
> Hello,
> 
> wget does download ALL !!!
> It is too much !!!
> 
> I like to get only the stable bin+src SLINK for i386 and not more.
> I have only 2,8 GByte and the last Download had crashed my system.
> They had triet to download around 4,x GByte

Here is what I use.

-- cut here --
#!/bin/sh
 
cd /home/debian/public_html
 
echo > debian.log
                                                                                
# this is should all be one line
/usr/bin/wget --proxy=off --mirror -nH -c --cut-dirs=1 -b -o debian.log
--dot-style=binary --tries=30
ftp://ftp.us.debian.org/debian/dists/stable/main/disks-i386
ftp://ftp.us.debian.org/debian/dists/stable/main/binary-i386/
ftp://ftp.us.debian.org/debian/dists/stable/main/binary-all/
ftp://ftp.us.debian.org/debian/dists/stable/contrib/binary-i386/
ftp://ftp.us.debian.org/debian/dists/stable/contrib/binary-all/
ftp://ftp.us.debian.org/debian/dists/stable/non-free/binary-i386/
ftp://ftp.us.debian.org/debian/dists/stable/non-free/binary-all/

-- cut here --
remove the urls of the directories you don't want to mirror, this setup
ends up being about 1.2 gigs.

This way I can minimize the hits on the main site, I have about a dozen
boxes using my mirror.

jpb
-- 
Joe Block <jpb@creol.ucf.edu>
CREOL System Administrator

Social graces are the packet headers of everyday life.


Reply to: