n*l 发帖数: 44 | 1 Thank you to all who gave me help and sugguestions on that urgent file rename
post I posted several days ago. 在这里把大家的建议都收集总结一下,供参考。
Rename several hundred files named "img*.jpg" to "img*.JPG" |
c*o 发帖数: 4 | 2 If you are using Linux. Maybe you can try command "rename"
sample:
rename .JPG .jpg *.JPG (rename *.JPG -> *.jpg
rename .html .htm *.html (rename *.html -> *.htm)
rename
【在 n*l 的大作中提到】 : Thank you to all who gave me help and sugguestions on that urgent file rename : post I posted several days ago. 在这里把大家的建议都收集总结一下,供参考。 : Rename several hundred files named "img*.jpg" to "img*.JPG"
|
k*j 发帖数: 2 | 3
another approach:
\ls img*.jpg | sed 's/\(.*\)jpg/mv & \1.JPG/' | sh
rename
【在 n*l 的大作中提到】 : Thank you to all who gave me help and sugguestions on that urgent file rename : post I posted several days ago. 在这里把大家的建议都收集总结一下,供参考。 : Rename several hundred files named "img*.jpg" to "img*.JPG"
|
c******n 发帖数: 4965 | 4 this is novel
【在 k*j 的大作中提到】 : : another approach: : \ls img*.jpg | sed 's/\(.*\)jpg/mv & \1.JPG/' | sh : rename
|