由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Any idea on batch renaming files?
相关主题
a question about renamehow to handle *.pkg files?
how to turn off sendmailSolars question
有关Unix shell script的问题格式问题
Re: [转载] 一个很急迫的问题,谢谢a question about renaming.
How to use files with names like "-123.txt"?急问。。。urgent...在线等。。。
how to rename a bunch of files总结一下:如何在unix下一次性rename n-多个文件名
A question about awkRe: [转载] How to see a directory content in a http website?
help urgent!help on unix
相关话题的讨论汇总
话题: any话题: renaming话题: batch
进入Unix版参与讨论
1 (共1页)
r*****s
发帖数: 985
1
Say I have RIMG0001.JPG, RIMG0002.JPG, ... RIMG0100.JPG ...
I want to rename them all to myname0001.jpg, myname0002.jpg ...
Any concise commands/scripts to do so?
i*******n
发帖数: 166
2
ls RIMG*.JPG | sed 's/RIMG\(.*\).JPG/mv & myname\1.jpg/' | sh

【在 r*****s 的大作中提到】
: Say I have RIMG0001.JPG, RIMG0002.JPG, ... RIMG0100.JPG ...
: I want to rename them all to myname0001.jpg, myname0002.jpg ...
: Any concise commands/scripts to do so?

1 (共1页)
进入Unix版参与讨论
相关主题
help on unixHow to use files with names like "-123.txt"?
怎样同时改很多文件的名字。how to rename a bunch of files
standalone sun box questionA question about awk
shell script help?help urgent!
a question about renamehow to handle *.pkg files?
how to turn off sendmailSolars question
有关Unix shell script的问题格式问题
Re: [转载] 一个很急迫的问题,谢谢a question about renaming.
相关话题的讨论汇总
话题: any话题: renaming话题: batch