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

Downloading Hamm bits at a time



Damon Muller writes:
 > Hi Folks,

Hello:

 > I remembered, however, that I still have a Uni dial-in account (which
 > has a high-speed link to another Uni which is an official mirror), but
 > that is restricted to 2-hour's at a time.
 > 
 > Can anyone offer any advice as to what is the most efficient way to
 > download it, considering it will probably be interupted a few times. I
 > don't plan on doing an FTP-install, I'll download it all to a local HD
 > and install it from there.

I can recomend you to use lftp mirror command, it is cool, however, in
the default bo version (sorry, don't remember which one it is), it is
not completed, I mean, as full fetured as in v1.0-1 wich is in hamm,
but I remember there is an updated version of the lftp package for bo
in bo-updates or in bo-unstable that has a more complete mirror
command.

I downloaded all hamm main in about two weeks (but sometimes I let it
running overnight), doing:

lftp ftp.mirror.site
> mirror -e -n -v -c debian/dists/frozen/main/binary-all hamm/binary-all &
> mirror -e -n -v -c debian/dists/frozen/main/binary-i386 hamm/binary-i386 &
> mirror -e -n -v -c debian/dists/frozen/main/disks-i386 hamm/disks-i386 &

-e is for erase old files, -n is to get only newer files, -v is to be
verbose and -c is to continue if posible (as in getting half emacs-20
in one shot and the rest in the next or the like). Also, if there is
no local hamm dir, it will create it and all other subdirs, it's a
mirror! :)

Then, you let them run two hours, checking them with:

> jobs

and/or:

> fg <job-number>
>   <Ctrl-Z>

And then, when it will be time to disconnect:

> kill 0
> kill 1
> kill 2
       ^ job numbers can vary

Well, this is how I did a mirror of hamm, and it is why I love lftp :)

HTH, see you
Roberto Ruiz


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: