Batch rename in automator with step

I'd like to rename a large number of files in Automator with alternate numbers. For example, files 1-10 would be renamed 1,3,5,7,9,11 etc, and 2-10 would be renamed 2,4,6,8,10,12 etc. I'm familiar with rename finder items but cannot think of a way to make it rename with alternate numbers. Any help would be greatly appreciated.

Try BatchRename'Em - CNet Downloads or MacUpdate.

Similar Messages

  • Batch Rename Multiple files with different names

    Hi,
    Is there any way to batch rename multiple files with individual names? I.e
    IMG_123 changed to  RSP45AS
    IMG_124 changed to MOL157A
    IMG_125 changed to AGKH135
    IMG_126 changed to MNOLH13
    IMG_127 changed to ASFBLUG
    Etc.
    Are they any programs or scripts or plug ins that would do that job?
    Thanks

    HI there Onemorewave,
    It looks like there is a batch remname feature included in OS X 10.10 Yosimte if you are planing on updating. 
    Rename files, folders, and disks - Mac Help
    Rename multiple items
    Select the items, then Control-click one of them.
    In the shortcut menu, select Rename Items.
    In the pop-up menu below Rename Folder Items, choose to replace text in the names, add text to the names, or change the name format.
    Replace text: Enter the text you want to remove in the Find field, then enter the text you want to add in the “Replace with” field.
    Add text: Enter the text to you want to add in the field, then choose to add the text before or after the current name.
    Format: Choose a name format for the files, then choose to put the index, counter, or date before or after the name. Enter a name in the Custom Format field, then enter the number you want to start with.
    Click Rename.
    Note: To batch rename, you would want to choose the "Format" option.
    -Griff W

  • Batch Rename causes error with 1000 files

    If I perform a batch rename with  more than 1000 files or more I get an error filled batch rename.
    I may have  6 difference sets of model poses with unique numeric names.  I select all files and rename with model's name and named sequentially with a 3 digit series.  What I get is a mix of the pictures in the sets with names that act like duplicates with a (1) in some of them.
    If I have less than 1000 files I have no problems. 
    Has anyone else experienced this?

    Paul
    Interesting but does not work here.  Tried it on a few test jpeg images.  Have enclosed the screen shot.  Unless I am doing something wrong, always a possibility, it does not list the old name, uses the new name,  and look at the extension.  It adds the sequence number after the extension so it is .jpeg003.  Which won't fly.

  • How to create pdf and html usin oracle policy automation with steps.

    Hi,
    I tried to create pdf report.But they have some problem for while creating xslt.
    Pls provide more steps or simple example creating xslt and which xml use for that also.

    Below is a working (OPA 10.1) example, which I found earlier in this forum. You can call it from a document control on the summary screen. The xml is provided by the server containing all attributes with a public name.
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:fo="http://www.w3.org/1999/XSL/Format"
                    xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="xml" indent="yes" encoding="utf-8"/>
    <xsl:template match="/">
    <fo:root>
      <fo:layout-master-set>
        <fo:simple-page-master master-name="my-page">
          <fo:region-body margin="1in"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="my-page">
        <fo:flow flow-name="xsl-region-body">
          <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
            <xsl:apply-templates mode="dump" select="/session"/>
          </fo:block>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
    </xsl:template>
    <xsl:template match="*" mode="dump" priority="100">
                <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
                    Node:
                    <xsl:value-of select="name()"/>
                    <xsl:if test="count(@*) &gt; 0">
                        <fo:block margin-left="1cm">
                            Attributes:
                            <xsl:for-each select="@*">
                                <fo:block><xsl:value-of select="name()"/>=<xsl:value-of select="."/></fo:block>
                            </xsl:for-each>
                        </fo:block>
                    </xsl:if>
                    <xsl:if test="string-length(normalize-space(text())) > 0">
                        <fo:block>Text Value: "<xsl:value-of select="text()"/>"</fo:block>
                    </xsl:if>
                    <xsl:apply-templates mode="dump" select="*"/>
                </fo:block>
        </xsl:template>
    </xsl:stylesheet>

  • Batch Process/Actions Automation with CS3 - Save 2 Files at Once

    Trying to figure this out is making my head spin. Say I have three files in a folder called house.tif, apple.tif, and dog.tif. I want to run a batch process on those to save two separate PDF files for each, one high res and one low res, that would ideally stay in the same folder and be named house_lowres.pdf and house_highres.pdf, apple_lowres.pdf and apple_highres.pdf etc.
    How can I do that with Actions and Batch Processing without overwriting any files?
    Thanks!
    Kim

    I was wondering if you had a chance to look more into it?
    Thanks a lot,
    Didier-

  • Multi batch renaming with automator

    Hi, everybody!
    Hope I can find help in this section. Else, please forgive me if I posted in the wrong place...
    I find myself in this situation.
    I have many pdf's I need to transform into JPG's, but of course I need the name to be "meaningful". Each pdf contains 30 to 100 "sheets", that is to say it will produce from 30 to 100 jpgs
    No problem with Automator and pdf-to-jpg.
    Original pdf name: meaningless (something like "Scan_01")
    JPG needed format: PREF_XXXXXX_EYY_S#
    prefix is (by now) fixed: MAD
    XXXXXX : a 6-digit progressive number BUT it has to increase each 4 jpg's
    EYY: a progressive number that could be even set by hand, as it indicates the "Envelope" from which pdf's were scanned
    S# : a number ranging from 1 to 4
    Just to be clear (I hope), here is an example of how a correct output should look like:
    MAD_123456_E01_S1
    MAD_123456_E01_S2
    MAD_123456_E01_S3
    MAD_123456_E01_S4
    MAD_123457_E01_S1
    MAD_123457_E01_S2
    MAD_123457_E01_S3
    MAD_123457_E01_S4
    MAD_123458_E01_S1
    and so on.
    Of course the point is not to prepend "MAD_" or whatever, and the "EYY" thing can go anywhere in the name (even after "MAD_"): I really don't know how to set a counter to switch from xxxxx1 to xxxxx2 each time S# reaches "S4" and, meanwhile, to reset "S#" to "S1".
    Any advice on how to do that?

    If I understand you correctly, you have a bunch of files that have been converted to jpg, and just want to rename them starting with a specified sequence.  The folowing Run AppleScript added to your workflow should be close - it extracts the name pieces from a dialog so that they can be manipulated and reassembled.  There isn't any error checking, it just assumes the format of the name is the same as the default answer:
    property divider : "_" -- the character dividing the name pieces
    on run {input, parameters}
         set output to {}
         set theAnswer to text returned of (display dialog "Enter starting sheet name:" default answer "MAD_123456_E01_S1")
         # break the name apart at divider - format is assumed to be the same as the default answer
         set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, divider}
         set {prefix, survey, envelope, page} to text items of theAnswer
         set AppleScript's text item delimiters to tempTID
         # extract numbers
         set envelope to text -2 thru -1 of envelope
         set page to (text -1 of page) - 1
         repeat with anItem in the input
              set page to page + 1
              if page > 4 then
                   set page to 1
                   set survey to survey + 1
              end if
              set theEnvelope to "E" & text -2 thru -1 of ("00" & envelope) -- leading zero
              set thePage to "S" & page
              tell application "Finder"
                   set name of anItem to prefix & divider & survey & divider & theEnvelope & divider & thePage & ".jpg"
                   set end of output to anItem as alias
              end tell
         end repeat
         return output
    end run
    Edit: I am a he, by the way.

  • Batch rename with minimum numeber of digits in sequence number

    I'm pretty sure I remember this working how I wanted in previous versions of Bridge, but at least since cs4, it has not worked as I would like. I've tried searching for an answer or a setting that I'm missing, but have come back empty-handed.
    Here's my situation. Let's say I'm renaming 18 files. Each file has a sequence number. I want the sequence numeber for the first 9 to be one digit, and for the second nine to be 2 digits.
    i.e. image_1.jpg, image_2.jgp, image_3.jpg...image_10.jpg, image_11.jpg...
    The best way I've found that I can do this is to select all 18 images, and assign a 2-digit sequence number. Then, once that is complete, select the first 9 and repeat, but with a 1 digit number.
    In the past, I could select all 18 images, and choose a 1 digit number, and after 9, it would switch to 10, instead of going back to zero. Is there still a way to do that? I know it's only one extra step, but that one extra step is actually kind of two, because each time I have to reset tho starting number back to 1 or 10, and switch the setting from 2-digits to 1-digit and back again. And I usually have to rename multiple groups of files at once, so it does add up. Granted, much better than renaming one at a time, but not as convenient as I feel it could be, and as it once was.
    Am I missing something?
    Thanks,
    iLan

    While I certainly can understand the way in which computers work, I also understand that in a program as complex as any of the components in Adobe's Creative Suite, there is most certainly a way to override the computer's numerical logic so that it can remove the initial "0" from a 2-digit number. Granted, that may not be possible in the current version of Bridge, theoretically it is "Possible". And I'm quite sure it functioned that way in previous versions, although I really don't know which version I was using when it worked that way. Maybe cs2?
    As a developer, the whole reason for this question is to avoid having to create extra code in my applications to add an unnecessary "0" to digits 0-9 in any filenames of any files I want to load. Although it looks as though adobe changed the default behavior of the batch rename function, and removed (or in some peoples' minds improved) some functionality without an option to get it back.
    Unfortunately for me anyways...
    Thanks for the help,
    ilan

  • Quandary with batch rename  of photos

    This seems like it ought to be a simple task, but I'm stumped. I've got a couple hundred photos in an Event that I want to rename with a title + number. This part is easy using iPhoto's "Batch Change".
    But then some time later, I need to be able to add more photos to that Event and rename them with the same scheme. The problem is that the Batch Change doesn't let me specify what number I want the new photos to start at. It just starts them at 1 so I end up with duplicate titles within the event. Is there some clever way to do this that I haven't found yet?
    The Batch Change feature does allow for renaming the Title to match the Filename, but I've read that messing about in the Finder (to actually rename the files themselves) is a big NO-NO, so I don't think I want to go that route. But I haven't been able to find anything within Automator or any plug-ins that will allow for this changing of the photo title while specifying a starting index number.
    Hoping someone can point me to a way to do this. Thanks.

    I thought I'd follow up here in case others run into this. It turns out that you can achieve this as long as you sort it properly before the rename. An easy way to do this is to rename the newly added photos to something alphabetically after the set that is already in the event. Then just sort by title, Select All in the Event and do the batch rename again. All the original photos will retain their original titles (including the appended number) and the new ones will get new names that begin numerically after those.
    It would still be way better if the batch change just let you specify the number you want to start with.

  • Batch Renaming with Counter

    I am trying to do batch renaming with a counter. Unfortunately every time I try to use a counter, it stays the same number.
    For example/
    I have two clips that I want to rename Ceremony 1 and Ceremony 2. When I do the batch renaming, the clips change to Ceremony 1 and Ceremony 2. The counter doesn't work.
    I could do keyword collections or rename them individually, but I have too many clips.
    I hope someone could help me.

    I figured it out. As you saw above, I wasn't having a problem batch renaming the title of the clips. I was having a problem with the counter. I learned in a previous posting that when you change the name of a subclip of a clip, it changes the name of both the original clip (clip in event browser, not hard drive) and the other subclips associated with it. It doesn't matter how you rename the clip (changing the name in the Name box of the Inspector, change it by clicking the name of the clip once in the event browser and typing it in, or using custom naming (click on the gear button in Inspector to find it), the name will always change correctly. For some reason (I guess a FCPX thing lol), you can't use the counter in custom naming correctly unless you change the original name through custom renaming. If you change the original name of a clip the other two ways, then try to change the new name of the clip using custom renaming with the counter, the counter will always stay the same number.

  • Batch Rename Sequence Letter Doesn't Start with A

    I'm using Adobe Bridge CS3 to rename files.
    Several of the files require me to use the SEQUENCE LETTER function under BATCH RENAME.
    However, the names of the files contain a sequence of letters that start in the MIDDLE of the ALPHABET (i.e.  C, D, E, F, G, etc...)
    I can't find an option to let me start lettering form a letter other than A.
    Help!
    Thanks,
    jjfosho

    I have 3 monitors hooked up and running, the only port not in use is the mini display port (I do not have an adapter).
    All 3 screens are blue and the mouse and key board are not responsive.
    If i take out the other card (ATI Radeon HD 2600) it Tells me I need to restart. Every time i do it comes up with the same thing.
    Is the card Bad or something else?

  • Issue with Adobe Bridge batch rename crashing

    Hi, I have been trying to rename photo files in Adobe Bridge CC using the batch rename tool. I have just started using CC apps. All the updates are done. It crashes after doing just a few files. Started with 40 files at a time, crashed. Empty folder cache. Tried with 20 files, worked for a few times then crashed again. Tried 10 files and it crashed immediately. I found directions online (unfortunately it was for CS5, but I assume it's similar to CC). Any ideas on what to do differently? I really need to get these photos renamed and to a client tomorrow. Thanks in advance for any help.
    Cheryl

    Video card is updated, though I've been getting an error message on it.
    I'm not sure what this should have to do with your batch rename problem. Your specs seem more then sufficient and batch renaming does only save the files you already have cached.
    First check if you have enough free space left on your disk (at least 10 - 15 % free space is needed for good operation of your system and apps) and also try to reset preferences for Bridge by holding down contrl key while restarting Bridge. Check reset preferences from the pop up window and try again.

  • Batch Rename - Two File Formats with Same Name

    Hi everyone!
    I'm having troubles using the batch rename function i Bridge CS5.
    I've got several pictures that I've captured in both jpeg and raw. When importing the pics with windows photo import they get the same name. This means that I've got one JPG and one RAW file which contains the "same" picture, and have same name as shown below:
    What I would like to do is to rename the pictures, but still have Bridge name the same pictures with the same name as shown below:
         IMG_1268.CR2          ->          Picture 2011 - 0001
         IMG_1268.JPG          ->          Picture 2011 - 0001
         IMG_1269.CR2          ->          Picture 2011 - 0002
         IMG_1269.JPG          ->          Picture 2011 - 0002
    Is this even possible? And if possible, how?
    Thanks in advance
    Martin

    Most things are possible and so is this..
    Make sure you do a test first by copying the files to a temp folder!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    First copy the script below and paste it into ExtendScript Toolkit (this gets installed with Photoshop)
    #target bridge
    var sels = app.document.selections;
    for(var a in sels){
    var f = decodeURI(sels[a].spec.name);
    var newName = "Picture 2011 - "+ zeroPad((f.match(/\d{4}/)[0]-1267).toString(),4)+ f.match(/\....$/);
    sels[a].spec.rename(newName);
    function zeroPad(n, s) {
       n = n.toString();
       while (n.length < s)  n = '0' + n;
       return n;
    Now open Bridge and select the files you want to rename, then run the above script from ExtendScript Toolkit.

  • Batch Rename with additional "."s, drops the file extension. Request for "Keep File Extension" option...

    I NEVER name files with extra "." s in the name. I realize that all OS's (even Windows) will recognize it, but I haven't gotten out the old mindset of 8.3 filenaming... Although I do use longer names. So... I was surprised to see that when I was renaming files as per a clients naming preference to add a period within the name, the file extension is removed.
    For example: 
    original file -  2014_10_31_1643.CR2   when batch renaming to "2014.31" + sequence, drops the "CR2" extension.
    but.... if I change it to "2014_31" + sequence, the ".CR2" remains
    Since adding multiple "." is a legitimate naming convention, shouldn't the file extension remain?  Or, possibly this could be made more flexible by adding a check box "Keep file extension"
    just a thought.

    Refer to this stackexchange article:
    http://apple.stackexchange.com/questions/47319/how-can-i-make-os-x-recognize-new -file-extensions
    The finder will only select the filename only for "known" file types.

  • Custom batch rename files with Aperture 3 in the following format: IMG_0023.cr2 to Smith_YYMMDD_0023.cr2?  I cannot find a way to structure the date in Aperture as such, as well as extract only the camera file

    Please advise how to custom batch rename files with Aperture 3 in the following format: IMG_0023.cr2 to Smith_120816_0023.cr2?  I cannot find a way to structure the date in Aperture as such (YYMMDD), as well as extract only the camera file (0023, for example).  Adobe Bridge CS5 can do this, but NONE of the Adobe software is retina optimized, and is terrible to look at.

    In Aperture you are limited to renaming files by the entries in the File Naming preset window.
    At what point are you looking to rename, import or export? It might be possible to do what you are looking to do external to Aperture either via a script or other software.
    regards

  • How to batch rename with index/counter all files in a project?

    I have a project with files named with an index (I believe that is the correct term).  For example, the files are named XX1, XX2, and so on.  However, some files have the same name because I imported from two different memory cards, without thinking to set the starting number for the second import into the same project.  I would like to batch rename all of the files (masters and versions) with a consecutive index (1, 2, 3, and so on).  How can this be done?  I have found in the manual the way to do this on import, but not how to correct my mistake now.  Thanks!

    I would like to batch rename all of the files (masters and versions) with a consecutive index (1, 2, 3, and so on).
    Select the images in the project and then use ( from the main Aperture application menu)
         Matadata -> Batch Change (Shift-Command-B)
    Set the Version Name format to one of the "Custom with Index ..." or "Custom with Counter ..." formats and check "Apply to Master Files". Make sure you disable all other changes that you do not want, like Time Zone correction, or keywords.
    Regards
    Léonie

Maybe you are looking for

  • My iphone 5 will not charge and will also not be recognised when plugging into my computer

    I need help. I have looked on loads of forums but I seem to have 2 problems merged into one. The first one is that my phone will not charge, i have tried different USB ports, different plugs (the only thing i havent got round to yet is checking the a

  • JPA multiple queries run for ManyToOne mapping

    I have a ManyToOne relationship defined on an Entity A to another Entity B. When I run a named query that returns N results, N queries are run to populate the Entity B objects defined by the ManyToOne relationship. Is there a way to configure toplink

  • Date format not coming proper after formula

    Hi All, I have two time characteristics "Goods Issue date" and "Goods Return date" and One key figure "No. of days elapsed". The key figure "number of days elapsed" is being calculated by taking difference of "goods issue date" from "goods return dat

  • Where is the language translator in Mac OS X 10.6?

    When I was poking around with different areas of my new IMac, I came upon a language translator and I don't recall where I located it. Now I can't find it at all. Can anyone help me relocate it? I need help with this one asap. Thanks.... I know it's

  • How to get result directory?

    Hi, I'd like to save file from tested page to result directory. How can I get the path? Br, Tamas