这个项目是我个人学习 golang 来构建有用工具的项目。

$ go get -d github.com/huydx/hget
$ cd $GOPATH/src/github.com/huydx/hget
$ make clean install
二进制文件将构建在 ./bin/hget 中,您可以将其复制到 /usr/bin 或 /usr/local/bin,甚至可以 alias wget hget 来完全替代 wget :P
hget [Url] [-n parallel] [-skip-tls false] //to download url, with n connections, and not skip tls certificate
hget tasks //get interrupted tasks
hget resume [TaskName | URL] //to resume task
要中断任何正在下载的过程,只需在下载中途按 ctrl-c 或 ctrl-d,hget 将安全保存您的数据,您之后可以恢复下载

