I usually do it like this:

wget -r -N -l 1
http://sdb.suse.de/download/s390/update/SuSE-SLES/8/rpm/s390
rm *.gif
rm index*

And my .wgetrc file has http-user and http-passwd in it. 

I'm sure there's a better way to skip the index file, but this seems to
get everything I need.

Marcy Cortes
(415) 243-6343

This message may contain confidential and/or privileged information.  If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any information herein.  If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation."

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Romanowski, John (OFT)
Sent: Tuesday, October 12, 2004 11:05
To: [EMAIL PROTECTED]
Subject: Re: [LINUX-390] Need help with wget for Yast Online Update

My apologies to John Mckown, I attributed his response to Mark Post (I
was getting this list in digest format instead of individual emails and
messed up in cut/pasting a response to John's reply. Sorry.)

To Mark Post:
I tried your wget command parameters but get my same problem: wget looks
for a non-existent "index.html" at each url I give it, doesn't find it
and gives up. I would like wget to just go out and download the contents
of the directories instead of getting an index.html file and following
its links.  I've read the wget manual and can't figure out what options
make it do what I want.   

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to