Ubuntu: 断点续传下载文件
时间:2016-05-17 11:34 来源:linux.it.net.cn 作者:IT
今天通过浏览器下载了个大文件,速度又慢, 停了后,重新下载失败,咨询同事后,wget 支持断点续传,挂个脚本后台跑,爽得很。
下载脚本
wget -c ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/10.0/FreeBSD-10.0-RELEASE-i386-dvd1.iso > wget.log 2>&1 &
备注: 刚测试了,网络重启后,依然可以断点续传。
参数解释
-c --continue Continue getting a partially-downloaded file. This is useful when you want to finish up a download started by a previous instance of Wget, or by another program. For instance:
(责任编辑:IT)
今天通过浏览器下载了个大文件,速度又慢, 停了后,重新下载失败,咨询同事后,wget 支持断点续传,挂个脚本后台跑,爽得很。 下载脚本 wget -c ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/10.0/FreeBSD-10.0-RELEASE-i386-dvd1.iso > wget.log 2>&1 & 备注: 刚测试了,网络重启后,依然可以断点续传。参数解释 -c --continue Continue getting a partially-downloaded file. This is useful when you want to finish up a download started by a previous instance of Wget, or by another program. For instance: (责任编辑:IT) |