lftp怎么批量下载?

上网、浏览、聊天、下载等
回复
crossie
帖子: 241
注册时间: 2008-05-25 20:35

lftp怎么批量下载?

#1

帖子 crossie » 2008-06-05 10:18

例如有名字为70.rmvb,71.rmvb, ... , 80.rmvb的一系列文件
想一次下载下来
应该怎么做?
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#2

帖子 millenniumdark » 2008-06-05 13:47

crossie
帖子: 241
注册时间: 2008-05-25 20:35

#3

帖子 crossie » 2008-06-05 15:06

millenniumdark 写了:viewtopic.php?p=782459
我不想把文件名都敲进去
mget的wildchar功能又不会用...
请不吝赐教
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#4

帖子 solcomo » 2008-06-05 15:13

wget -r
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北

#5

帖子 rhfcaesar » 2008-06-05 15:18

用curl比较方便。 :D :D

代码: 全选

枪杆子里面出政权
头像
ibear
帖子: 787
注册时间: 2006-10-19 8:43
来自: 长江口

#6

帖子 ibear » 2008-06-05 16:47

mget *.rmvb?
头像
hakie
帖子: 270
注册时间: 2008-04-30 12:14

#7

帖子 hakie » 2008-07-02 15:43

到底要怎么做啊?还没明白。
outdoor
帖子: 41
注册时间: 2006-11-24 19:43

#8

帖子 outdoor » 2008-07-03 17:32

据说wget 可以把整个网站拉下来。 8)

-r 参数是递归下载。

参考: http://anywolfs.com/liuhui/article.asp?id=86
hanzhaogang
帖子: 18
注册时间: 2008-06-08 16:59

#9

帖子 hanzhaogang » 2008-07-03 21:14

lftp啊,
用mget命令。可以下载多个文件。
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#10

帖子 kofshower » 2008-07-04 6:22

:em06 mget不能解决楼楼主的问题。
我思量楼主想问的是根据一个地址怎么下载连续的文件。可以用脚本来实现。我临时写了一个,可以用来参考。
用法:
ruby download.rb [第一个文件的url路径][文件数]
ruby '/home/migerate/dev/download.rb' http://www.pingshu8.com/bzmtv_Inc/wmadown2.asp?id=22522 10
下载的是wmadown2.asp?id=22522到 wmadown2.asp?id=22531的文件。
楼主那个如果是rmvb的话就
ruby download.rb http://XXX/XXX/01.rmvb 5
就会下载01-05部片。
如果是迅雷的地址需要自己参照batchdown改。默认下载5个线程
附件
download.rb.tar.bz2
(1.09 KiB) 已下载 35 次
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
freezee
帖子: 15
注册时间: 2007-10-21 16:49
来自: 天津

#11

帖子 freezee » 2008-07-04 9:34

mirror,做镜像,可以把整个FTP站点下载下来,
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#12

帖子 kofshower » 2008-07-04 9:53

人家只要几个文件不需要wget -m之类的。
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#13

帖子 oneleaf » 2008-07-04 10:13

lftp 支持使用 mget *.rmvb 命令一次下载当前目录下的rmvb文件。
回复