public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* wget downloads
@  Linux for blind general discussion
  0 siblings, 0 replies; only message in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list; +Cc: slint

the best way I've found to do wget downloads outside of sourceforge.net is
to use:
wget -bc url.
The reason for this is if wget-log doesn't exist on your user directory,
wget will create it and write its download progress into wget-log.  If
wget-log exists, wget-log.1 will get created and written to for the
present download.
The suffix number increases if the last one is present so you could get a
bunch of wget-log files in your user directory if you don't manage them.
The reasons you want wget-log are two.
First you can check if the download is complete with:
grep -i saved wget-log
If grep returns nothing, it means either a download failed or hasn't yet
finished.
If grep returns a line of information with the word saved in it, it means
your download is complete.
The second reason is you can check the progress of your download with:
wc -l wget-log
That will return a number.
If you repeat that command and get a higher number back, your download is
progressing.
If you don't use wget -bc url, you get a mess on your screen and no
ability to check completion and progress of your download.



--


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~ UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 wget downloads Linux for blind general discussion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).