<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; wget</title> <atom:link href="http://www.ghacks.net/tag/wget/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Linux command line tips: wget</title><link>http://www.ghacks.net/2011/03/04/linux-command-line-tips-wget/</link> <comments>http://www.ghacks.net/2011/03/04/linux-command-line-tips-wget/#comments</comments> <pubDate>Fri, 04 Mar 2011 20:24:11 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[downloaders]]></category> <category><![CDATA[downloading]]></category> <category><![CDATA[network tools]]></category> <category><![CDATA[wget]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=42086</guid> <description><![CDATA[One of the applications I use most often is the wget tool. You don&#8217;t realize how useful this tool is until you&#8217;ve used and then needed it but not had it available. Wget is, for all intent and purpose, a non-interactive web downloader that allows the user to, from the command line, download files without [...]]]></description> <content:encoded><![CDATA[<p>One of the applications I use most often is the wget tool. You don&#8217;t realize how useful this tool is until you&#8217;ve used and then needed it but not had it available. Wget is, for all intent and purpose, a non-interactive web downloader that allows the user to, from the command line, download files without requiring the user to even be logged in (hence the &#8220;non-interactive&#8221; in the title.)</p><p>Wget can do a lot of things browsers can not do, which makes it an incredibly valuable tool for users who do a lot of downloading. Wget can even re-connect and finish a download if a connection is dropped. Let&#8217;s take a look and see how to make best use of this very powerful tool.</p><p><span
id="more-42086"></span><strong>Installation</strong></p><p>Installation for wget is very simple, as it will be found in the standard repositories. You can install wget from either the command line (such as <em>yum install wget</em> or <em>sudo apt-get install wget</em>) or you can also install wget from the Add/Remove Applications tool (Ubuntu Software Center, PackageKit, Synaptic, etc) by doing the following:</p><ol><li>Open the tool.</li><li>Search for &#8220;wget&#8221; (no quotes).</li><li>Mark for installation.</li><li>Apply.</li></ol><p><strong>Usage</strong></p><p>Remember, wget is a command line only tool (although there are front-ends available) so you will need to either be working from within a terminal window or logged onto a virtual terminal. Now that you have the right tool open, let&#8217;s see how wget can help you.</p><p>The basic usage is:</p><p><code>wget ADDRESS_TO_FILE</code></p><p>Where ADDRESS_TO_FILE is the actual address (URL or IP) to the file you want to download.</p><p>The above will download a single file to your hard drive. Now, what if you have a need to do an recursive downloading? For example there is an entire directory of files you need to download. To do recursive downloading on a remote directory the command would be:</p><p><code>wget -r ADDRESS_TO_DIRECTORY/DIRECTORY</code></p><p>The above command will download a directory hierarchy that matches the hierarchy downloaded from. In other words, within the directory you ran the wget command, you will find (using the above as an example) a newly created directory called ADDRESS_TO_DIRECTORY. Within that directory will be all of the subdirectories you downloaded.</p><p>If you don&#8217;t want to download the hierarchy, just the files, you would add the -nd switch like so:</p><p><code>wget -r -nd ADDRESS_TO_DIRECTORY/DIRECTORY</code></p><p>Now the only thing that will download is the files contained within DIRECTORY.</p><p>What if the address or directory you are downloading requires a username and password? You can pass that along with the wget command like so:</p><p><code>wget -r -nd --user=USERNAME --password=PASSWORD ADDRESS_TO_DIRECTORY/DIRECTORY</code></p><p>Where USERNAME is the required username, PASSWORD is the required password, ADDRESS_TO_DIRECTORY is the address and DIRECTORY is the directory containing the files.</p><p>Now, if you want to run wget in the background (so you don&#8217;t have to be logged in) you would issue the command as such:</p><p><code>wget -bqc ADDRESS_TO_FILE/FILE</code></p><p>Where ADDRESS_TO_FILE is the address containing the file and FILE is the file name to be downloaded.</p><p><strong>Final thoughts</strong></p><p>You will find wget to be one of the more useful tools in your Linux toolkit. And once you start using it you will never look back.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/03/04/linux-command-line-tips-wget/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>P2P-like downloads with Multiget</title><link>http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/</link> <comments>http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/#comments</comments> <pubDate>Mon, 12 Oct 2009 21:18:49 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[download threads]]></category> <category><![CDATA[downloads]]></category> <category><![CDATA[iso images. Ubuntu]]></category> <category><![CDATA[wget]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=17198</guid> <description><![CDATA[As a old-school Linux user I am quick to use the command line before any other tool. One of those tools I use almost daily is wget. Wget is a command-line only tool that downloads files from remote locations easily and quickly. Wget is a great tool to have in your toolbox, but for many [...]]]></description> <content:encoded><![CDATA[<p>As a old-school Linux user I am quick to use the command line before any other tool. One of those tools I use almost daily is wget. Wget is a command-line only tool that downloads files from remote locations easily and quickly. Wget is a great tool to have in your toolbox, but for many people it falls short in a couple of key features. One big feature is no GUI. Yes I realise for many that is NOT a selling point. Even though wget is about as simple a command as you can get, it is, after all, a command. The other feature is multi-threading. Although wget can do cool things like run in the background (without even being logged in), it will download a file with a single thread.</p><p>For both of these needs there is another tool that works as a pretty impressive front-end for the wget command. That tool &#8211; <a
title="Multget" href="http://multiget.sourceforge.net/" target="_blank">Multiget</a>. Now, before you assume Multiget is a Linux-only tool, it&#8217;s not. Multiget can be used in Linux, Windows, OS X, and the BSDs. This article, however, is about using Multiget in Linux (in particular &#8211; Ubuntu).</p><p><span
id="more-17198"></span><strong>Features</strong></p><p>Multiget offers the following features:</p><ul><li>Multi-task/multi-thread/multi-server usage.</li><li>User-friendly interface (resembling Flashget).</li><li>Multiple language support.</li><li>Proxy support.</li><li>Extension ignoring/capture.</li><li>FTP anonymous pass.</li><li>Panel icon.</li></ul><p><strong>Installation</strong></p><p>Fortunately, for Ubuntu users, Multiget can be found in the Universe repository. All you have to do for installation is:</p><ol><li>Open up your Add/Remove Software tool.</li><li>Search for &#8220;multiget&#8221; (no quotes).</li><li>Select the results.</li><li>Apply to install.</li></ol><p>That&#8217;s it.</p><p><strong>Usage</strong></p><div
id="attachment_17200" class="wp-caption alignleft" style="width: 310px"><a
rel="attachment wp-att-17200" href="http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/multiget_main/"><img
class="size-thumbnail wp-image-17200" src="http://www.ghacks.net/wp-content/uploads/2009/10/multiget_main-300x300.png" alt="Figure 1" width="300" height="300" /></a><p
class="wp-caption-text">Figure 1</p></div><p>To start up Multiget go to the Internet sub-menu of the Applications menu and you will find the Multiget entry. Open that and the main window will start up (see Figure 1). The first step in downloading a file should be fairly obvious &#8211; you hit the the New Task button (denoted by the &#8220;+&#8221; symbol). Simple.</p><p>When you hit the New Task button  a new window will appear that asks for certain information. At least in the Linux release of Multiget, you might find a portion of this window that might stump you. As you can see (in Figure 2) in the Basic Info section you have four bits of information to add. The MAIN URL section is obvious &#8211; you copy and paste a URl into the this section. But wait a minute &#8211; you will find, if copying your URL from your default web browser, that as soon as you right-click a URL, and select Copy Link Location that URL will appear in the MAIN URL section and then automatically moved down to the Mirrors section. This is actually the only means of getting an address into the Mirrors section.</p><div
id="attachment_17205" class="wp-caption alignright" style="width: 310px"><a
rel="attachment wp-att-17205" href="http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/multiget_new_task/"><img
class="size-thumbnail wp-image-17205" src="http://www.ghacks.net/wp-content/uploads/2009/10/multiget_new_task-300x300.png" alt="Figure 2" width="300" height="300" /></a><p
class="wp-caption-text">Figure 2</p></div><p>With that in mind, let&#8217;s use a few mirrors to quickly download the ISO image of the latest release of Ubuntu. To do this go to the <a
title="Karmic Koala" href="http://www.ubuntu.com/" target="_blank">Ubuntu Karmic page page</a>. The first thing you will do is go to the main download page, right click the download link, and click Copy Link Location. Now go back to the main download page and select a mirror and do the same thing. You can add as many mirrors as you like &#8211; understanding the more mirrors you add, the faster the download will happen.</p><p>Once you have all of your URLs added (make sure you still have a URL in the MAIN URL section) configure the rest of the window (you should configure the SaveTo section at least) and then click OK.</p><p>As your file is downloading click on the Progress section in the bottom and you will see how the pieces of the download are coming together. As you can see (in Figure 3) I have five threads running to download the Ubuntu 9.10 ISO image. You can also see the overall progress bar as the green bar starting right under the icon toolbar.</p><div
id="attachment_17211" class="wp-caption alignleft" style="width: 310px"><a
rel="attachment wp-att-17211" href="http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/multiget_downloading/"><img
class="size-thumbnail wp-image-17211" src="http://www.ghacks.net/wp-content/uploads/2009/10/multiget_downloading-300x300.png" alt="Figure 3" width="300" height="300" /></a><p
class="wp-caption-text">Figure 3</p></div><p>During an active session you can increase or decrease the amount of threads given to a download. This, of course, can speed up your download. Naturally if you give too many threads to a download you might see your overall performance of either your machine or your general network connection degrade. At this point you can decrease the number of threads given to a download. To increase or decrease the number of threads go to the Task menu and select the appropriate entry.</p><p>During the download you can click on the Running section to see the information of your download. You can also pause your download by clicking the Pause button.</p><p><strong>Final thoughts</strong></p><p>Multiget is an outstanding tool to download large files using muliple mirrors and threads. As well it is just an overall outstanding front end for the wget command.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/10/12/p2p-like-downloads-with-multiget/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
