Wget

From Christoph's Personal Wiki
Revision as of 21:05, 7 September 2006 by Christoph (Talk | contribs)

Jump to: navigation, search
The correct title of this article is wget. The initial letter is capitalized due to technical restrictions.

wget - The non-interactive network downloader.

Download multiple files

  • Create variable that holds all urls and then using 'BASH foo loop' to download all files:
% URLS="http://www.example.com/foo.tar.gz ftp://ftp.example.org/pub/bar.tar.gz"
  • Use for loop as follows:
% for u in $URLS; do wget $u; done
  • You can also put a list of the URLs in a file and download using the -i option:
% wget -i download.txt

See also

External links

This article is curently a "stub". This means it is an incomplete article needing further elaboration.

I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!