摘要: ls *asp*|while read file;do real=$file; file=${file/./};file=${file/\?/};file=${file/=/};file=${file/&/};file=$file".html";find ./ -name "*.asp*" -exec sed -i "s/$real/$file/g" {} \;;find ./ -name "*.html" -exec sed -i "s/$real/$file/g" {} \;; mv 阅读全文
posted @ 2013-11-01 17:49 Epirus 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ctrl + F5 阅读全文
posted @ 2013-11-01 10:15 Epirus 阅读(230) 评论(0) 推荐(0) 编辑
摘要: findhttp://www.baidu.com/cnc=${a//\//\\/}echo $chttp:\/\/www.baidu.com\/cncontent='f'echo 'fefew $f'--->sorry you need to echo "fefe $f"read -p "Content:" content content=${content//\//\\/} echo $content read -p "Replace:" replace find ./ -name " 阅读全文
posted @ 2013-11-01 09:09 Epirus 阅读(694) 评论(0) 推荐(0) 编辑