Mirror tool won't recurse
Alan Dayley
alandd at consultpros.com
Tue Aug 5 00:47:24 MST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I need to mirror the CPAN repository to a local Linux server using FTP.
~ According to http://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN I
can do this using the "mirror" Perl script found at
http://sunsite.org.uk/packages/mirror. Nice except that I cannot get to
sunsite.org.uk. That's OK because I found the package at
ftp://ftp.cise.ufl.edu/pub/mirrors/tex-archive/tools/mirror/mirror.html
Now were good so far.
I installed the "mirror" script as documented and ran:
mirror -g mirrors2.kernel.org:/pub/CPAN/
This gave me all the files at ftp://mirrors2.kernel.org/pub/CPAN but
nothing from any subdirectories. The documentation at the mirror.html
link states that recursion is the default but it did not work. Fine
let's try again:
mirror -d -krecursive=true -g mirrors2.kernel.org:/pub/CPAN/
That should explicitly enable recursive checks but, it does not. I
still only get the files in the top targeted directory and nothing of
the subdirectories. Increasing the debug output by adding up to four
"-d" options gives more information but no errors.
Question 1: Has anyone used the "mirror" script before and can tell me
what I am doing wrong? Don't hold back!
Question 2: OR assuming the mirror script is broken, is there another
mirroring script that uses FTP to retrieve the remote files that anyone
can recommend?
Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFImAWLDQw/VSQuFZYRApXLAJ42nLPrnlUISSpKHO8D0147KWNU3ACeNKEW
mkYyrIfs3gYBAd+76o1TzJc=
=JQDA
-----END PGP SIGNATURE-----
More information about the PLUG-discuss
mailing list