handy iso upgrade rsync script

Gene Heskett gene.heskett at verizon.net
Mon Nov 1 05:32:29 UTC 2004


On Friday 29 October 2004 20:31, Salane KIng wrote:
>rsync usually will speed up the upgrading of iso files from one to
> another. Since the test iso does'nt change their name here is a
> small script to help the community.
>
>#!/bin/sh
>rsync -av --progress --partial --stats
>sunsite.mff.cuni.cz::ftp/OS/Linux/Dist/Fedora.RC/3/i386/iso/FC3-i386
>-disc* /directory of isos
>the rsync line here is smart wrapped and should be on one line in
> your command or bash script file.
>
>here is my output of this command which is saved as the file "iso"
>sh iso
>SunSITE.MFF.CUni.CZ 2TB archive
>
>receiving file list ...
>4 files to consider
>FC3-i386-disc1.iso
>   647069696 100%  628.29kB/s    0:16:45  (1, 25.0% of 4)
>FC3-i386-disc2.iso
>   668514304 100%    1.25MB/s    0:08:31  (2, 50.0% of 4)
>FC3-i386-disc3.iso
>   667525120 100% 1016.03kB/s    0:10:41  (3, 75.0% of 4)
>FC3-i386-disc4.iso
>   398049280 100%  884.90kB/s    0:07:19  (4, 100.0% of 4)
>
>Number of files: 4
>Number of files transferred: 4
>Total file size: 2381158400 bytes
>Total transferred file size: 2381158400 bytes
>Literal data: 371155464 bytes
>Matched data: 2010002936 bytes
>File list size: 101
>Total bytes sent: 583981
>Total bytes received: 371529134
>
>sent 583981 bytes  received 371529134 bytes  136130.64 bytes/sec
>total size is 2381158400  speedup is 6.40

I have the RC3 images sitting in the target local directory, but they 
don't appear to be getting updated, instead from the appearance of my 
downloads directory after this has been running for about 10 minutes, 
it apparently is going to download a fresh copy of everything, but 
with a serial number appended to the end, and a . (dot) prefixed to 
the newer filename.  This doesn't strike me as the expected rsync 
operation.

Can anyone explain why that is happening to this big & old dummy?

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.28% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-test-list mailing list