News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

Using wget to grab tgz's in an index

Started by Newby, January 13, 2006, 06:00:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Newby

ok, I have had no luck at ALL.

I want to grab the packages in this directory. Too bad I can't get wget to grab 'em.

Help please. I've tried almost everything. I want to grab them all in one swift command. :(
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

iago

I know it's possible, just set a filename and a directory name match, both of which you can find on wget's manpage.  You also want to use -r for recursive, obviously.  I'd figure it out, since I've done that before, but I don't have time right now. 

Newby

I played around with practically every argument there was and to no avail.

I'll try again later.
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Joe

Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


iago

Quote from: Joe[e2] on January 13, 2006, 10:19:16 PM
wget -r http://mirror.cc.columbia.edu/pub/software/kde/stable/3.5/contrib/Slackware/10.2/

??

No, that'll download the entire site, mirror.cc.columbia.edu. 

I have a little time, I'll see if I can figure it out.

iago

You're right, that's a tricky problem.  I'm sure it wouldn't be hard to just save the filenames and script it in Perl or Bash or something. 

But an easy workaround is this command:

$ ncftpget mirror.cc.columbia.edu /tmp /pub/software/kde/stable/3.5/contrib/Slackware/10.2/*.tgz

I know that's cheating, but eh? :)

Newby

- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT.