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

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



In-line :-

2010/12/10 shirish शिरीष <shirishag75@gmail.com>:

<snipped for brevity>

> rsync, have really no idea.

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/

where /sda8/ is where the download will happen.
> So ideas, ways please. I want to be able to in a place where I can use
> the new images as well as help out friends in case they need Debian
> images.

This is what I tried :-

$ mkdir beta2rsync
$ cd beta2rsync/
$ pwd /home/shirish/beta2rsync

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

Welcome to the FTP Server of the Department of Computer Science,
                                     Dresden University of Technology, Germany.

General administration:               ftpadm@inf.tu-dresden.de
Debian mirror related feedback:       debian-ftp@ftp.inf.tu-dresden.de

 Hint: Don't use checksum'ing (-c), it's disabled.

Module          | Content and size
----------------+------------------------------------------------

receiving incremental file list
./
current -> 5.0.7
current-live -> 5.0.7-live
5.0.7-live/
5.0.7-live/amd64/
5.0.7-live/amd64/bt-cd/
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-gnome-desktop.iso.torrent
       27623 100%  195.48kB/s    0:00:00 (xfer#1, to-check=1057/1073)
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-kde-desktop.iso.torrent
       27561 100%   78.93kB/s    0:00:00 (xfer#2, to-check=1056/1073)
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-lxde-desktop.iso.torrent
       36302 100%   56.01kB/s    0:00:00 (xfer#3, to-check=1055/1073)
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-rescue.iso.torrent
       26796 100%   33.25kB/s    0:00:00 (xfer#4, to-check=1054/1073)
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-standard.iso.torrent
        8037 100%    9.71kB/s    0:00:00 (xfer#5, to-check=1053/1073)
5.0.7-live/amd64/bt-cd/debian-live-507-amd64-xfce-desktop.iso.torrent
       38462 100%   19.11kB/s    0:00:01 (xfer#6, to-check=1052/1073)
5.0.7-live/amd64/bt-hdd/
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-gnome-desktop.img.torrent
         252 100%    2.26kB/s    0:00:00 (xfer#7, to-check=1051/1073)
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-kde-desktop.img.torrent
         250 100%    2.24kB/s    0:00:00 (xfer#8, to-check=1050/1073)
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-lxde-desktop.img.torrent
         251 100%    2.25kB/s    0:00:00 (xfer#9, to-check=1049/1073)
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-rescue.img.torrent
         245 100%    2.20kB/s    0:00:00 (xfer#10, to-check=1048/1073)
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-standard.img.torrent
         247 100%    2.21kB/s    0:00:00 (xfer#11, to-check=1047/1073)
5.0.7-live/amd64/bt-hdd/debian-live-507-amd64-xfce-desktop.img.torrent
         251 100%    2.25kB/s    0:00:00 (xfer#12, to-check=1046/1073)
5.0.7-live/amd64/iso-cd/
5.0.7-live/amd64/iso-cd/MD5SUMS
        1820 100%    6.53kB/s    0:00:00 (xfer#13, to-check=1045/1073)
5.0.7-live/amd64/iso-cd/MD5SUMS.sign
         198 100%    0.71kB/s    0:00:00 (xfer#14, to-check=1044/1073)
5.0.7-live/amd64/iso-cd/SHA1SUMS
        2012 100%    7.20kB/s    0:00:00 (xfer#15, to-check=1043/1073)
5.0.7-live/amd64/iso-cd/SHA1SUMS.sign
         198 100%    0.71kB/s    0:00:00 (xfer#16, to-check=1042/1073)
5.0.7-live/amd64/iso-cd/SHA256SUMS
        2588 100%    9.26kB/s    0:00:00 (xfer#17, to-check=1041/1073)
5.0.7-live/amd64/iso-cd/SHA256SUMS.sign
         198 100%    0.71kB/s    0:00:00 (xfer#18, to-check=1040/1073)
5.0.7-live/amd64/iso-cd/debian-live-507-amd64-gnome-desktop.iso
      858441   0%   31.63kB/s    6:17:32  ^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
rsync.c(543) [receiver=3.0.7]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
rsync.c(543) [generator=3.0.7]

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

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.

In wget its simple,

$wget something.something.

Do a CTRL+C in case you want to quit or connection goes out or anything.

then do

$wget -c something.something

It will check how much it has downloaded and get the rest.

This of course depends on the server supporting download resuming.

Sorry for the long mail.

Please CC me as I'm not subscribed to the list.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: