LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2008, 02:55 AM   #1
rastacre
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: Disabled
Bash Download Manager (using wget) and progress bar


Hi All,

I'm wrote a download manager script in bash using wget (my 1st bash script ever...).

The script works and does what it is supposed to do, so now I'm working on the UI (if we can call it this way).

So I'm stuck now trying to figure out a way to disable the wget output (connection info etc) but still be able to see a progress bar.

so this is what the output looks like while downloading:


Code:
--09:30:42--  hxxp://xxx.xxx/DSCF0599.JPG
           => `/home/rastacre/Downloads/DSCF0599.JPG'
Resolving xxx.xxx... xxx.xxx.xxx.xxx.
Connecting to xxx.xxx|xxx.xxx.xxx.xxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,614,820 (1.5M) [image/jpeg]

19% [======>                              ] 614,424      173.62K/s    ETA 00:14

and here's what I would like to see:

Code:
19% [======>                              ] 614,424      173.62K/s    ETA 00:14
or something similar anyway...

Any ideas?

thanks in advance
 
Old 08-29-2008, 01:33 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Try the -nv option.
 
  


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
mv with progress bar gbowden Linux - General 28 08-14-2013 04:42 AM
cp progress bar edwardsiow Linux - General 26 09-04-2011 08:53 AM
cp with progress bar? Rotwang Linux - General 5 04-27-2005 07:49 PM
cp: progress bar chii-chan Linux - General 2 10-30-2003 06:30 PM
Progress Bar zael Programming 3 10-01-2003 12:20 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:11 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