Wget

From OLPC
Revision as of 01:54, 16 February 2008 by Ixo (talk | contribs) (added templates.)
Jump to navigation Jump to search


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png
This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands.

'wget' is a powerful yet user-friendly utility for downloading files available through the Terminal_Activity. It needs to have Wifi_Connectivity working before it can download files.

Generally speaking, you can download a file by typing:

wget 'http://www.website.net/path/to/desired_file.ext'

and 'wget' will download the file named "desired_file.ext" from the website "www.website.net" into the current directory. Note the single-quote characters (') around the URL; they are optional but can be important if the URL contains spaces or unusual characters.

'wget' can handle many different web protocols and is able to download multiple files at once, or even entire websites. You can learn more about it by reading the wget manual.