http://bellard.org/jslinux/
的最新版本的下载方法
cpux86.js
cpux86-std.js
cpux86-ta.js
jslinux.js
term.js
utils.js
vmlinux-2.6.20.bin
linuxstart.bin
这些js页面另存就行了
但是类似hda000000911.bin
这些文件有900多
只能写个脚本wget一下了
生成后输出到一个文件中
再用vim替换所有的
hda1变成hda
:%s/hda1/hda/g
这些所有的文件连同index.html
放到一个文件夹下
扔到tomcat或其他随便个http服务器上就行了
------------------
研究这个很令人高兴
----------
[img]http://dl.iteye.com/upload/attachment/0062/9040/2ebe7bfd-6d1a-30bb-81cb-b301843684dd.jpg[/img]
wget整站下载
wget:
[url]http://butian.org/knowledge/linux/20081007/255.html[/url]
的最新版本的下载方法
cpux86.js
cpux86-std.js
cpux86-ta.js
jslinux.js
term.js
utils.js
vmlinux-2.6.20.bin
linuxstart.bin
这些js页面另存就行了
但是类似hda000000911.bin
这些文件有900多
只能写个脚本wget一下了
#!/bin/sh
for strr in $(seq 999)
do
stmp=$((1000000000+$strr));
# echo $stmp;
echo "wget http://bellard.org/jslinux/hda$stmp.bin";
done
生成后输出到一个文件中
再用vim替换所有的
hda1变成hda
:%s/hda1/hda/g
这些所有的文件连同index.html
放到一个文件夹下
扔到tomcat或其他随便个http服务器上就行了
------------------
研究这个很令人高兴
----------
[img]http://dl.iteye.com/upload/attachment/0062/9040/2ebe7bfd-6d1a-30bb-81cb-b301843684dd.jpg[/img]
wget整站下载
wget加上参数之后,即可成为相当强大的下载工具。
wget -r -p -np -k http://xxx.com/abc/
-r, --recursive(递归) specify recursive download.(指定递归下载)
-k, --convert-links(转换链接) make links in downloaded HTML point to local files.(将下载的HTML页面中的链接转换为相对链接即本地链接)
-p, --page-requisites(页面必需元素) get all images, etc. needed to display HTML page.(下载所有的图片等页面显示所需的内容)
-np, --no-parent(不追溯至父级) don't ascend to the parent directory.
另外断点续传用-nc参数 日志 用-o参数
熟练掌握wget命令,可以帮助你方便的使用linux。
如果需要查阅完整详细的帮助说明可以看这里
wget:
[url]http://butian.org/knowledge/linux/20081007/255.html[/url]

本文介绍了如何通过wget工具批量下载JSLinux在线模拟器所需的大量文件,并提供了具体的方法及wget命令参数详解。
414

被折叠的 条评论
为什么被折叠?



