Antony Suter wrote:
>
> What is the easy way to find out the rsync modules provided by an rsync
> server?
I responded above. More information:
rsync <options> <server>::<module>
will list all the files below that module path
It is also helpful to realise that these rsync 'Modules' are really
just useful shortcuts into the server's normal file tree.
They are set up in the server's /etc/rsyncd.conf file, where module
names are listed, and each one given a path.
For anonymous rsync access to an rsync server, where an rsync module
exists, you can access directories below it so:
rsync <options> <server>::<module>/<dir>/<dir>/<dir>/ <destination>
which acts the same as:
rsync <options> <server>/<module path>/<dir>/<dir>/<dir>/
<destination>
which acts the same on non-rsync sites as using the remote shell to
(I presume) upload the necessary rsync server (without any module
definitions):
rsync -rsh <options> <server>:/<dir>/<dir>/<dir>/ <destination>
One way to determine what <dir>/<dir>/<dir>/ to specify with a module
name is by browser access to ftp://<server> and explore for what you
want in its file tree, from which, by knowing the server's module
paths, you can build your <module>/<dir>/<dir>/<dir>/.
Warnings: Do not download Mandrake files with a browser since the
timestamp is not preserved, and, under Windows. the names may be
corrupted.
rsync is extremely flexible - if in doubt just try it out with the n
(dry run) parameter.
--
Regards,
Ron. [AU]