LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-28-2007, 11:57 PM   #1
balistic
LQ Newbie
 
Registered: Jul 2007
Posts: 9

Rep: Reputation: 0
need help using wget please


hi i was hoping someone could help me with my command using wget i use it to download from a list of urls using the command
Code:
wget -i list.txt
which works but for one of the urls it stalls, i dont know what its doing but its stopping the rest of the list from being downloaded fast. Is there a way to use wget and say if it takes longer then x to complete, then continue the list and skip that url? the list is changing everyday so i dont want to just remove it manually each time it happens if possible. I know it does it automatically if you wait but the wait is like 15 mins or something, is there a way to speed it up.

thanks in advance!

Last edited by balistic; 07-29-2007 at 12:02 AM.
 
Old 07-29-2007, 12:07 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Use the number of retries switch -t x. With x being anything from the number 0 to the phrase inf (infinite). The default is set to 20.

Last edited by {BBI}Nexus{BBI}; 07-29-2007 at 12:09 AM.
 
Old 07-29-2007, 12:33 AM   #3
balistic
LQ Newbie
 
Registered: Jul 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Code:
wget -t 1 -i list.txt
works however 0 doesnt so i guess its only values greater then 1, which still takes about a minute and a half but its faster then waiting before

Is there a way to adjust the time it waits while trying?

Last edited by balistic; 07-29-2007 at 12:34 AM.
 
Old 07-29-2007, 08:52 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by balistic
Code:
wget -t 1 -i list.txt
works however 0 doesnt so i guess its only values greater then 1, which still takes about a minute and a half but its faster then waiting before

Is there a way to adjust the time it waits while trying?
Type man wget in a konsole to get a full list of wget options.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget isn't what I want. But what is it that I should use? ericbrian Linux - Newbie 2 04-19-2006 01:12 PM
using wget bucovaina78 Linux - Software 3 03-28-2005 07:02 AM
wget Harp00 Linux - Newbie 4 11-15-2004 07:27 PM
wget filex Linux - Security 4 09-08-2004 08:02 PM
wget know how ksd Slackware 16 10-19-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration