会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
webber
一步一步,夯实基础
博客园
首页
新随笔
联系
管理
订阅
2015年10月24日
初学shell,为了练习sed,写了个简单的批量修改文件名的脚本,后来执行时发现系统竟然自带有一个rename命令,顺便也记下了
摘要: 1 #!/bin/bash 2 <<Comment 3 批量修改文件名的脚本 4 2015/10/24 5 webber 6 Comment 7 ARGS=2 8 ONE=1 9 if [ $# -ne "$ARGS" ];then 10 echo "传参错误!!" 11 exit 2 12 fi
阅读全文
posted @ 2015-10-24 20:22 webber_liu
阅读(770)
评论(0)
推荐(0)
编辑
公告