renaming

Batch renaming files using UNIX - should I use awk?

I have a large number of image files that i need to rename from the comand line. I believe the best way to do this is to use awk (please correct if this is incorrect). file names are like the following 1038282829128738912-1.jpg Every image file starts with '103' and I want to replace this part of the file name with '201003' - leaving...

identifier rename in java program

Hi, I need to programmatically rename identifiers within a given scope, for example, a method in java program. For example, given the following java function: public void doSomething(){ int x = 10; int y = x * 2; int z = x + y; } after renaming the variables (x to a, y to b, and z to c) I should obtain the following function...

Problem with mass renaming batch file script - directories travelling

cd \. cd Source\2010 for /l %%i in (1,1,9) do ( if exist 0%%i\NUL ( cd 0%%i for /l %%j in (1,1,9) do ( if exist 0%%j\NUL ( cd 0%%j d:\Renamer\ReNamer.exe /rename "telegraf-rename" "*" cd .. ) echo 0%%i ) for /l %%k in (10,1,31) do ( if exist %%k\NUL ( cd %%k d:\Renamer\ReNamer.exe /rename "tele...