---
title: "wget 整站下载"
author: "seavers"
date: "2013-11-26T10:22:13Z"
tags: []
categories: ["编程语言"]
slug: "wget"
draft: false
lastmod: "2013-11-26T10:26:12Z"
id: 1980761
url: "https://seavers.iteye.com/blog/1980761"
---

下载整站

```shell

wget -r -nv --restrict-file-names=nocontrol http://seavers.iteye.com/

```


下载时可以加 -np, 不下载父目录

```shell

wget -r -nv --restrict-file-names=nocontrol -np http://seavers.iteye.com/blog/

```


下载时, 加入断点续传

```shell

wget -r -nv -c --restrict-file-names=nocontrol http://seavers.iteye.com/

```




--restrict-file-names=nocontrol 用来解决中文乱码问题




<http://aotee.com/using-wget-recursive-download-the-entire-station>
<http://www.cnblogs.com/lybeta/archive/2012/05/23/2514759.html>
<http://blog.csdn.net/flyskywhy/article/details/7777972>
<http://www.butian.org/knowledge/linux/254.html>