| 
	本文仅作为学习shell脚本之用。 2.然后鼠标右键,选择“View Page Source”(我使用的是firefox,具体的看自己的情况了),将所有内容保存到一个命名为mytest.html的文件(文件名可以自己选择,修改后更改脚本文件); 
	3.写下以下脚本: 
	复制代码代码如下: 
		#!/bin/sh spilt_key='data-photo' 
		function spilt_message(){ 
		if [ !-d testdir ];then spilt_message 
		while read line rm -rf *.log 4.执行脚本,图片存放于testdir目录(根据自己的需求修改)。(责任编辑:IT) | 
