handy iso upgrade rsync script

Salane KIng sking4 at cinci.rr.com
Sat Oct 30 00:31:13 UTC 2004


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




More information about the fedora-test-list mailing list