How to figure out what subdirectories are available on an rsync server?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to figure out what subdirectories are available on an rsync server?

Peng Yu
Hi,

http://cran.r-project.org/mirror-howto.html

The above webpage shows the following rsync command to sync the website.

rsync -rtlzv --delete cran.r-project.org::CRAN /dir/on/local/disc

But if I want to sync only a subdirectory of what are available in
ftp://cran.r-project.org/pub/R/, does anybody know how to do it?

Where is "CRAN" from (I don't see "CRAN" in the ftp site)? Is there a
way to check the directory structure of a rsync server? Thanks.

--
Regards,
Peng
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply | Threaded
Open this post in threaded view
|

Re: How to figure out what subdirectories are available on an rsync server?

Kevin Korb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rsync cran.r-project.org::CRAN will show the listing.

On 02/21/2015 05:54 PM, Peng Yu wrote:

> Hi,
>
> http://cran.r-project.org/mirror-howto.html
>
> The above webpage shows the following rsync command to sync the
> website.
>
> rsync -rtlzv --delete cran.r-project.org::CRAN /dir/on/local/disc
>
> But if I want to sync only a subdirectory of what are available in
> ftp://cran.r-project.org/pub/R/, does anybody know how to do it?
>
> Where is "CRAN" from (I don't see "CRAN" in the ftp site)? Is there
> a way to check the directory structure of a rsync server? Thanks.
>

- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb Phone:    (407) 252-6853
        Systems Administrator Internet:
        FutureQuest, Inc. [hidden email]  (work)
        Orlando, Florida [hidden email] (personal)
        Web page: http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlTpDUYACgkQVKC1jlbQAQfyPQCeLdiylrSGN+Vs1KIG2IGokTPY
B7AAnjWitKsPNfQCl74W/0HmGOAxjIqi
=o7PJ
-----END PGP SIGNATURE-----
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html