网上找了一堆资料,用来比较方便的rename rename "s/oldstring/newstring//g" * 这个适合oldstring不是变量的情况,如果想用变量怎么弄,那就用shell了,直接在控制台输入
rename "s/oldstring/newstring//g" *
for((i=1;i<=9;i++)) do mv oldname$i newname$i done
这样比python,php之类的方便多了,给自己的小机灵赞一个~
注意 - 你可以用以下 HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
昵称
邮箱
网址
在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
0 条评论。