<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Totti的部落格]]></title> 
<link>https://iam.ittot.com/index.php</link> 
<description><![CDATA[记录我的生活，收集我的收集]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Totti的部落格]]></copyright>
<item>
<link>https://iam.ittot.com/read.php/.htm</link>
<title><![CDATA[使用wget 完成批量下载]]></title> 
<author>Totti &lt;totti5116@163.com&gt;</author>
<category><![CDATA[收集]]></category>
<pubDate>Mon, 21 Dec 2009 06:17:19 +0000</pubDate> 
<guid>https://iam.ittot.com/read.php/.htm</guid> 
<description>
<![CDATA[ 
	使用 wget 完成批量下载<br/><br/>如果想下载一个网站上目录中的所有文件, 我需要执行一长串wget命令, 但这样做会更好:<br/><br/>wget -nd -r -l1 --no-parent <a href="http://www.foo.com/mp3/" target="_blank">http://www.foo.com/mp3/</a><br/><br/>这条命令可以执行的很好, 但有时会下载像 index.@xx 这样一些我不想要的文件. 如果你知道想要文件的格式, 可以用下面的命令来避免下载那些多余的文件:<br/><br/>wget -nd -r -l1 --no-parent -A.mp3 -A.wma <a href="http://www.foo.com/mp3/" target="_blank">http://www.foo.com/mp3/</a><br/><br/>我来简单的介绍一下命令中指定选项的作用.<br/>-nd 不创建目录, wget默认会创建一个目录<br/>-r 递归下载<br/>-l1 (L one) 递归一层,只下载指定文件夹中的内容, 不下载下一级目录中的.<br/>–no-parent 不下载父目录中的文件
]]>
</description>
</item><item>
<link>https://iam.ittot.com/read.php/.htm#blogcomment</link>
<title><![CDATA[[评论] 使用wget 完成批量下载]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://iam.ittot.com/read.php/.htm#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>