In message <[EMAIL PROTECTED]>, Harry Putnam writes:

> Sorry to reprint this request for information but I guess I want more
> handholding here.
> 
> [...]
> 
> > 
> > "Michael H. Warfield" <[EMAIL PROTECTED]> writes:
> > 
> > >   rsync ftp.wtfo.com::
> > 
> 
> Getting this far ... works as advertised.
> But beyond that point, how to actually get to the files and collect them?


If you use the latest sources from the CVS tree, an rsync on an 
"rsync URL" lists its contents if the URL ends with a trailing slash:

adsone-465: ./rsync-current/rsync rsync://ftp.wtfo.com/
                          WTFO Mirror FTP Site

        Please report any problems immediately to <[EMAIL PROTECTED]>.



ftp             Complete wtfo FTP Sit
rh70            RedHat 7.0 complete
rh70-iso        RedHat 7.0 ISO Images
[...]

adsone-466: ./rsync-current/rsync rsync://ftp.wtfo.com/rh70/
                          WTFO Mirror FTP Site

        Please report any problems immediately to <[EMAIL PROTECTED]>.



drwxr-xr-x        4096 2000/11/23 18:58:17 .
drwxr-xr-x        4096 2000/10/12 09:10:11 .nfs_dontpush
[...]


And so on.  Previous versions of rsync did not handle things as
gracefully and would display the "client: nothing to do" message instead.
In general, though, I imagine that you'd want to rsync on
a whole "module" (i.e. top-level element of the rsync URL), as in:

adsone-467: ./rsync-current/rsync -avz rsync://ftp.wtfo.com/rh70 /mirror/

You can get the current version of rsync from:
    rsync://rsync.samba.org/ftp/unpacked/rsync/

On a related note, it looks to me like running rsync in list mode as
shown above causes the daemon to create a recursive listing of all files
under the top-level directory, which is completely unnecessary.
Martin, you may want to have a look at that.


Hope this helps,


-- Alberto





****************************************************************************
Alberto Accomazzi                          mailto:[EMAIL PROTECTED]
NASA Astrophysics Data System                      http://adsabs.harvard.edu
Harvard-Smithsonian Center for Astrophysics        http://cfawww.harvard.edu
60 Garden Street, MS 83, Cambridge, MA 02138 USA   
****************************************************************************

Reply via email to