3 Replies Latest reply: Jan 21, 2012 8:51 AM by jl2000 RSS

    How do I batch renumber files starting with any number?

    jl2000 Community Member

      Hi -

      I'm using data variables within Photoshop CS5 (Win7) to duplicate a template with many different sources.  With this method each output PSD has a new headline and 3 or 4 new images.  It works great exept that after all this scripted magic I have to manually rename the new batch of files.  The series of files I'm working on might start with "395.PSD" and go on for, say, 93 files -  but Photoshop only outputs starting with "1" or "01".  It would be great if I could start with whatever number I need and have PSD just start there and increment by 1 until finished with a batch.

       

      Further more - Even if I start with "39.PSD" - PShop will save out as "391,392,393,394,395,396,397,398,399, (here comes trouble) 3910, 3911, etc.

       

      So what I'm asking is - does anyone know of a way to tell PShop to start numbering with any number I want AND have PShop continue sequentially  from that number correctly?

       

      I'm not sure this is a Photoshop function or possibly a Windows explorer script.  But I'd like to get some expert input.

       

      TIA your replies.

       

      jl

        • 1. Re: How do I batch renumber files starting with any number?
          Paul Riggott Community Member

          You could batch rename your files in Bridge....

          Batch Rename.jpg

          • 2. Re: How do I batch renumber files starting with any number?
            jl2000 Community Member

            Hi all - just to pass on what I've found. 

             

            On Windows you can write a ".bat" file to rename files in a folder.  Its pretty tedious to set up but once done you just put the ".bat" in the same folder as the file names you want to change and double click on it. You might have to refresh the folder contents to see the results.   You MUST do this with Notepad or other plain text editor - not Word. The rename command is simple:

            ren current-file-name new-file-name

             

            That's all.  "ren" *space* current-file-name-with-extension *space* new-file-name-with-extension.

             

            Obviously it's a pain listing things from a folder like this but if you are going to be doing this often - you might be able to reuse the "bat" making find-and-replace changes.

             

            On the Mac side I heard of an app called "Better Finder Renamer" or something like that. 

             

            I'm still not happy with this as a solution.  I'd rather learn of a way to make PShop do the numbering as it saves files.

            JL

            • 3. Re: How do I batch renumber files starting with any number?
              jl2000 Community Member

              Thanks Paul - that solves many of the issues I'm having with these batches.

              JL