-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Josh Williams wrote: > On 7/16/07, Dax Mickelson <[EMAIL PROTECTED]> wrote: >> I've read the man page about 10 times now and I'm sure this issue is my >> own stupidity but I can't see where or how. >> [..] >> Thus I would expect to get a directory full of index.html.n files along >> with a bunch of .zip files! Alas, all I get is: > > You have quite a few unnecessary (and repetitive) options which I have > omitted. There are too many to mention in detail, so please take note > of these for future reference (and rtfm :-). > > I don't have time to walk you through it right now, unfortunately, but > here's the command you need: > > "wget http://librivox.org/ --output-file logs --progress=dot > --no-directories --recursive --level=100 -Aindex.html*,*zip* > -Dlibrivox.org,archive.org,www.archive.org --span-hosts --follow-ftp"
This is related to the same flaw pointed out just a couple days ago; -A should not be used to block names that are generated by wget using .1, .2 suffixes... A patch has been proposed fixing this (partially), by placing the .1, .2 *before* the filename extension; however, that still wouldn't have solved the -Aindex.html problem (since it'd then have to become - -Aindex*.html or somesuch). The patch and bug report are at https://savannah.gnu.org/bugs/index.php?20482 I'm going to submit a report against the more general issue, though, since the patch doesn't fully resolve the problem: that wget should not be matching -A and -R against filenames after it mangles them. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGnHwC7M8hyUobTrERCBJpAJ0Y7k9rfMAFqfr0pJ5/qtk3eBw8OQCfYSgP ZAeYJunk94pZp2aP5VqsTYo= =W3Jr -----END PGP SIGNATURE-----