Rename files myFile0001.jpg to myFile1.jpg
Posted: 19 Jan 2010 13:38
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..
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..