<?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>Some stuff &#187; wget</title>
	<atom:link href="http://blog.yhuang.org/?feed=rss2&#038;tag=wget" rel="self" type="application/rss+xml" />
	<link>https://blog.yhuang.org</link>
	<description>here.</description>
	<lastBuildDate>Wed, 27 Aug 2025 08:50:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>wget</title>
		<link>https://blog.yhuang.org/?p=791</link>
		<comments>https://blog.yhuang.org/?p=791#comments</comments>
		<pubDate>Thu, 02 Feb 2012 21:00:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[GIFs]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[parent directory]]></category>
		<category><![CDATA[Recursive]]></category>
		<category><![CDATA[Recursive Retrieval]]></category>
		<category><![CDATA[Retrieval]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=791</guid>
		<description><![CDATA[This is a useful reference. It seems wget can do recursive downloads while cURL cannot: You want to download all the GIFs from an HTTP directory. `wget http://host/dir/*.gif&#8217; doesn&#8217;t work, since HTTP retrieval does not support globbing. In that case, use: wget -r -l1 &#8211;no-parent -A.gif http://host/dir/ It is a bit of a kludge, but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.editcorp.com/Personal/Lars_Appel/wget/wget_7.html">This</a> is a useful reference. It seems wget can do recursive downloads while cURL cannot:</p>
<blockquote><p>You want to download all the GIFs from an HTTP directory. `wget http://host/dir/*.gif&#8217; doesn&#8217;t work, since HTTP retrieval does not support globbing. In that case, use:</p>
<p>wget -r -l1 &#8211;no-parent -A.gif http://host/dir/</p>
<p>It is a bit of a kludge, but it works.</p>
<p>`-r -l1&#8242; means to retrieve recursively (See section Recursive Retrieval), with maximum depth of 1.<br />
`&#8211;no-parent&#8217; means that references to the parent directory are ignored (See section Directory-Based Limits), and<br />
`-A.gif&#8217; means to download only the GIF files. `-A &#8220;*.gif&#8221;&#8216; would have worked too.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=791</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
