Page 1 of 1

Rename files myFile0001.jpg to myFile1.jpg

Posted: 19 Jan 2010 13:38
by squadjot
Hi i have a undefined amount of files looking like this

myFile0001.jpg
myFile0002.jpg
myFile0003.jpg
etc.

i would like to remove the zeros, so that the files will look like this instead:

myFile1.jpg
myFile2.jpg
myFile3.jpg
--
etc
--
myFile4562.jpg
myFile4563.jpg
myFile4564.jpg

How to do that?

note: In example it's 3 zeros... but could be larger/smaller amount of prefix zeros..

Posted: 19 Jan 2010 15:57
by squadjot
I found out that i could output my files named the way i want, so i don't actaully need answer to my question.

//J