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

Re: using jigdo or/and rsync to keep images freshen.



Hi,

shirish शिरीष wrote:
I followed the discussion on the web. So from what I learnt it should
be something like this :-

$ rsync -avzP ftp.de.debian.org::debian-cd/ /sda8/

I tried it too, with the $SITE variable set, this is my take:

rsync -avzP --delete ${SITE}::debian-cd/ ./debian-cd-mirror

I found that some mirrors didn't work as expected and others worked to a point, then I found one that kept on working and cleaned up the mess left behind by an old out of sync mirror (with the --delete option).

Ok I cancelled it, as it was downloading the 5.0.7 how do I tell it to
download  6.0 squeeze beta2 ?

I don't have an answer, it depends what is on the mirror I support, then you _might_ be able to path it to the right area.

Due to connection limitations at my end the download will not happen
in one go but over few days. So how do I set it up so that each time I
just run some command and it takes from where it left.

rsync will sort it out itself, you can stop it anytime and start it again and it'll work through the list again, provided it's not completely different, you won't be downloading the same files again.

$wget -c something.something

Yep, it doesn't work with all servers though, but the -c for continue is quite handy at times.

Further on this topic, the rsync I am doing has all kinds of files, such as:
   .tar.gz
   .iso
   .img
   .squashfs

I hope that one of the files that will download will tell me "how" all this is to be used somehow.... ;-)

I might do a dry run, just to get a full listing as well. There are sure to be many files that I'm downloading that will have no real use for me as most of the time I just use a netinst iso. And of course, the whole deal starts again when there is a newer release, a minor or a major one!

Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


Reply to: