如何使用清华源镜像下载指定文件
时间: 2023-05-17 22:05:43 浏览: 170
您可以使用以下命令从清华源镜像下载指定文件:
```
wget -P /path/to/save http://mirrors.tuna.tsinghua.edu.cn/{path/to/file}
```
其中,`/path/to/save` 是您要保存文件的本地路径,`http://mirrors.tuna.tsinghua.edu.cn/{path/to/file}` 是文件在清华源镜像上的路径。请将 `{path/to/file}` 替换为您要下载的文件的实际路径。
例如,如果您要下载 Ubuntu 20.04 LTS 的 ISO 镜像文件,可以使用以下命令:
```
wget -P /home/user/Downloads http://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/20.04/ubuntu-20.04.2.0-desktop-amd64.iso
```
这将把 `ubuntu-20.04.2.0-desktop-amd64.iso` 文件下载到 `/home/user/Downloads` 目录下。
相关问题
怎么使用清华源镜像下载指定文件
您可以使用以下命令从清华源镜像下载指定文件:
```
wget -P /path/to/save http://mirrors.tuna.tsinghua.edu.cn/path/to/file
```
其中,/path/to/save 是您要保存文件的本地路径,http://mirrors.tuna.tsinghua.edu.cn/path/to/file 是您要下载的文件在清华源镜像上的路径。
使用清华源镜像下载指定文件的方式
您可以使用以下命令从清华源镜像下载指定文件:
wget -c -t 0 -T 60 -O 文件名 "文件的下载链接"
其中,-c 表示断点续传,-t 0 表示无限尝试下载,-T 60 表示每次尝试的超时时间为 60 秒,-O 表示指定文件名。
相关推荐















