C
Conrad Allen
I get my pictures back from the film processor (yeah, I still use film)
along with
a CD containing a copy of each image and a thumbnail of each, too.
The images are named like
021434-R1-024-5A.jpg
021434-R1-032-12A.jpg
I want to change all the files thusly with one command:
For those numbered below 10A I want to add a leading 0 before its number
021434-R1-024-05A.jpg
And for all of them, I want to eliminate the unknown number in the middle
of the file name. I.E. the -024, or the -032 in my examples. So the final
filename looks like the following:
021434-R1-05A.jpg
021434-R1-12A.jpg
Got any ideas how to do this?? Seems when I do the wildcard deal from a
command line, I'm all messed up because the length of the filename cannot
be changed.
along with
a CD containing a copy of each image and a thumbnail of each, too.
The images are named like
021434-R1-024-5A.jpg
021434-R1-032-12A.jpg
I want to change all the files thusly with one command:
For those numbered below 10A I want to add a leading 0 before its number
021434-R1-024-05A.jpg
And for all of them, I want to eliminate the unknown number in the middle
of the file name. I.E. the -024, or the -032 in my examples. So the final
filename looks like the following:
021434-R1-05A.jpg
021434-R1-12A.jpg
Got any ideas how to do this?? Seems when I do the wildcard deal from a
command line, I'm all messed up because the length of the filename cannot
be changed.