From: Curt Howland on 3 Aug 2010 16:20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I've wanted to do one thing with wget that just seems like it should be easy, but I haven't been able to get a combination of "recurse" and "level" that will do it. All I want to do is download all the files in a specific directory. The directories are viewable, for example, http://media.mises.org/mp3/MU2010/ But wget http://media.mises.org/mp3/MU2010/ just gets the index.html file, wget http://media.mises.org/mp3/MU2010/* returns an error, and the one time I put -r for recursion, it started downloading everything in the http://media.mises.org/mp3/ directory! Does anyone have a trick? Using Konqueror and click-and-dragging every single file is a long, boring task that wears out my mouse. Curt- - -- Those who torment us for our own good will torment us without end, for they do so with the approval of their consciences. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEVAwUBTFh0hy9Y35yItIgBAQKu2Af/T0btUYBHIedX8IOQiTJk/PVVmuRBsb7+ 6njy4ZGX461Cu6HuAI4AxPn/zeKXxrwUH4al4dWsmuV5vbx5ahiCCZLjbcBjTBvp tyxsEFymPkJ0hczgPegpCdC6wjZC4XcgRyWhimpFHRq+7xBcmZqrRgATAhXq0eIz Qm0Fk/jGh47i/xx+K9XezQTA9hGBjuLI+VYj4gosLVHzZRn0sc3x3ga7BNG1CsFh BUaAm5B9+0aj0tEbnr851iTuk+So9CpiuanbgjPjIOhJbEPYJRCjU0r/TltdvSHI jqxA8roHqpmCSX5zW93kb88yarLoAZoUOeCfHfHId7WKac9pNyHlxQ== =yV6h -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/201008031557.01068.Howland(a)priss.com
From: Jordon Bedwell on 3 Aug 2010 16:30 On 8/3/2010 2:56 PM, Curt Howland wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi. > > I've wanted to do one thing with wget that just seems like it should > be easy, but I haven't been able to get a combination of "recurse" > and "level" that will do it. > > All I want to do is download all the files in a specific directory. > > The directories are viewable, for example, > > http://media.mises.org/mp3/MU2010/ > > But wget http://media.mises.org/mp3/MU2010/ just gets the index.html > file, wget http://media.mises.org/mp3/MU2010/* returns an error, and > the one time I put -r for recursion, it started downloading > everything in the http://media.mises.org/mp3/ directory! > > Does anyone have a trick? Using Konqueror and click-and-dragging every > single file is a long, boring task that wears out my mouse. > > Curt- Check out: http://www.delorie.com/gnu/docs/wget/wget_31.html it has some neat tricks for wget, perhaps some along the lines of what you want. I would test a few but my server is too smart for wget and flat out tells it where it can go. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4C587B21.6060902(a)envygeeks.com
From: Andre Majorel on 3 Aug 2010 18:40 On 2010-08-03 15:56 -0400, Curt Howland wrote: > All I want to do is download all the files in a specific directory. > http://media.mises.org/mp3/MU2010/ > > But wget http://media.mises.org/mp3/MU2010/ just gets the index.html > file, wget http://media.mises.org/mp3/MU2010/* returns an error, and > the one time I put -r for recursion, it started downloading > everything in the http://media.mises.org/mp3/ directory! wget -r -np http://media.mises.org/mp3/MU2010/ Add -l1 if you don't want the subdirectories. -- Andr� Majorel <http://www.teaser.fr/~amajorel/> lists.debian.org, an essential online resource for spammers. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100803223612.GD4007(a)aym.net2.nerim.net
|
Pages: 1 Prev: help parsing output Next: How do I automate standard input for interactive shell programs? |