1.获取文件名并修改文件名
2.$@ 遍历参数
3.赋值要加""
4.if 判断注意空格 else后面不能跟then
shell 获取文件名
原文:http://www.cnblogs.com/alamZ/p/6364528.html