使用'svn mv'将bash中目录中的每个文件大写

Ale*_*x J 6 svn shell rename file batch-file

我需要在subversion工作副本中更改一组文件的大小写,如下所示:

svn mv test.txt Test.txt
svn mv test2.txt Test2.txt
svn mv testn.txt Testn.txt
...
svn commit -m "caps"

如何自动完成此过程?标准的linux安装工具可用.

ejg*_*ttl 13

ls | awk'{system("svn mv"$ 0""toupper(substr($ 0,1,1))substr($ 0,2))}'

显然,其他脚本语言也可以正常工作.awk的优势在于它无处不在.