Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown    



RSYNC


We all know how to download from FTP, but there is an other way: rsync ! When ftp servers are really busy you might have a better/faster download with rsync.

To use rsync you need to know a few tricks:

To get a full list of what is available with rsync on nluug:

CODE
$ rsync ftp.nluug.nl::

( full list of modules )

Or directly the distributions directory:

CODE
$ rsync ftp.nluug.nl::pub/os/Linux/distr/

Or Ibiblio:

CODE
$ rsync ibiblio.org::distros/


Then if you want to know what is in Mandrakelinux:

CODE
$ rsync ftp.nluug.nl::Mandrakelinux


The listing of i586:

CODE
$ rsync ftp.nluug.nl::Mandrakelinux/official/2006.0/i586/


Download the full "images" directory:

CODE
$ rsync -P -v -r ftp.nluug.nl::Mandrakelinux/official/2006.0/i586/install/images/ .

!! Do not forget the dot at the end !!! ( It puts the file in your /home or replace the dot with the path to the directory you use to save the download. The file will be a hidden till the download is 100% )

The -P argument is to resume a download of a partially downloaded file.

Only the boot.iso:

CODE
$ rsync -P -v ftp.nluug.nl::Mandrakelinux/official/2006.0/i586/install/images/boot.iso .

!! Do not forget the dot at the end !!!

The ISO of the first CD of Mandriva 2006:

CODE
$ rsync -P -v ftp.nluug.nl::Mandrakelinux/official/iso/2006.0/i586/Mandriva-Linux-Free-2006-CD1.i586.iso .

( One line ) !! Do not forget the dot at the end !!!


I know it does not seem easy at first sight, but once you are familiar with it you will learn to appreciate rsync.


Bruno


-- Jun 30 2004 ( Revised Dec 15 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown