8,9,10.jpg to 08,09,10.jpg, all subfolders

Help
Si Dedman
2011-05-10
2013-04-26
  • Si Dedman
    Si Dedman
    2011-05-10

    Hi. Sorry if this is obvious but i've been looking.
    Current structure:
    folder/sub/1.jpg
    folder/sub/9.jpg
    folder/sub/10.jpg

    Desired structure:
    folder/sub/01.jpg
    folder/sub/09.jpg
    folder/sub/10.jpg

    For all 1-9.jpgs in all subfolders. I know to recurse, I just don't know how to find>replace multiple items, or how to express the 1-9… or where i'd even try to express it. Assumedly it'd be changing ".jpg" to "0.jpg"?

    Thanks in advance!

    si

     
  • Si Dedman
    Si Dedman
    2011-05-19

    bump, and also:

    and if not something clever, is there a way to do simultaneous find & replace, i.e.
    1 with 01
    2 with 02
    etc?