Batch Renaming Photographs

Hi all,
I have a series of around 8,000 photos from my recent trip to Botswana.
They were taken on a variety of cameras, 30D and 40D mostly, a borrowed 1DS MkIII for around 5 mins.
Some of the 30D files have jumped from like MG0950.cr2 to MG5020.cr2
Is there a way I can rename then but just subtract the difference between the above two files where it jumped?
Thanks,
Fred

You can try doing it with applescript. In AppleScript Editor do something like this:
tell application "Finder"
-- The number to subtract from the filenames i.e. last number before the jump
set num to 950
-- Ask for files whose names are to be changed. Only select the files after the jump here
set allPhotos to choose file with multiple selections allowed without invisibles as alias list
repeat with thisPhoto in allPhotos
-- Name with wrong numbering
set oldName to name of thisPhoto
-- Extract the number from the name
set thisNum to (items 5 through 8 of characters of oldName) as string
-- Subtract the predefined number
set thisNum to (thisNum as integer) - num
-- Add the leading zero if required
if thisNum < 10000 then set thisNum to "0" & thisNum as string
-- finally add the prefix and file extension and change the name
set newName to "MG" & thisNum & ".cr2"
set name of thisPhoto to newName
end repeat
end tell
After you're done just run the script.
I haven't run the code on my computer so there might still be some errors that need to be ironed out.
Message was edited by: hungryjoe
Corrected a bug

Similar Messages

  • Batch rename files that have non consecutive numbers?

    I have a folder with about 100 image files that have non consecutive numbers. Is there a way to rename them all to add something after the numbers (and before file type extension) without changing the numbers?
    Example: If I select 111019.003.dng and 111019.007.dng, is there a way to batch rename to 111019.003_tk.dng and 111019.007_tk.dng?
    Of course, simply batch renaming w/ a sequence number would change them to 111019.003_tk.dng and 111019.004_tk.dng. Which is no good.
    I realize the easiest way around this is to name them correctly the first time, but I am not the photographer.
    Hope this makes sense, and thanks.

    You can bulk rename in Bridge IE:-

  • Batch Renaming loses Spotlight Comments, Os X to blame?

    I posted this over at the Adobe forum for Bridge, however, I'm going to post it here too because part of me feels like this issue I'm experiencing is tied to a recent Os update: from Leopard to Snow Leopard.
    I'm a photo editor for a wedding photographer and have been implementing some of my own personal workflows into his pipeline. I tend NOT to rename camera-generated files, at all, unless there's an important reason to do so. Sorting an entire wedding by "Date" works perfectly for building the proper timeline for a shoot. So camera-generated file names are perfectly okay for our needs.
    When an edit is complete I'll generate JPEGs from Aperture. The resulting files will continue to carry the original RAW files names, unless there is a duplicate file name, then Aperture will add a number: "(1)" to the file, if necessary. Typically, after export, I run an Automator action that stores the file name in the Spotlight Comments. Because prior to shipping and archiving, I AM going to rename the final JPEGs sequentially: 0001_wedding, 0002_wedding, etc.
    The beauty was that with the original name stored in the Spotlight comments for the JPEG, I would easily look at 0148_wedding.jpg, see that it's spotlight comments said, "Original Name: IMG_3471" and obviously know exactly what RAW image this new JPEG started as. Worked perfectly.
    So process was: Export, Store Original Name in Spotlight Comments of JPEGs, Batch Rename (sequentially) based on date modified in Bridge CS4.
    Well now everthing's changed. We had a system drive go down. We were running 10.5.8. When the system came back from the shop, with a new drive installed, it was/is running Snow Leopard. 10.6.3? I think. Snow Leopard, no doubt.
    And now my prior workflow has been wrecked because the act of renaming, in Bridge CS4, erases all those handy Spotlight comments. However, part of me is wondering though if this issue is rooted more deeply, at the OS level? Because R-Name (Batch renaming utility) is now eradicating Spotlight comments as is an Automator action built for the same purposes. This all used to work perfectly. And the one major change that has occurred was this "upgrade" from Leopard to Snow Leopard.
    So, question is: is there something I can alter in Bridge Preferences to maintain my Spotlight Comments, when batch renaming? Is this all tied to the Snow Leopard? Is there ANY renaming utility that's not going to fall victim to whatever the hang up here is?? How can I batch rename and not destroy my lovely Spotlight Comments in the process?
    Thanks for your time!!

    Yes, this works. However, this was already part of my workflow.... and not where the trouble lies.
    After exporting jpeg images from Aperture, they carry the same name of the original RAW files, from which they came. (So, IMG_8342.jpg would have started it's life as IMG_8342.CR2.) But we dont' send them out like that. We sequentially name them 0001_image.jpg, 0002_image.jpg, etc... So after renaming, how do you find the original file again, right?
    BEFORE the renaming phase, I would run the "Store Original Names in Spotlight Comments" action. That way, I could look at the comments for a derivative .jpg—whose name has now changed—and determine the name of the ORIGINAL file.
    After renaming, the derivative file might end up being named 0361_image.jpg, but it's Spotlight comments would say, for example, Original Name:<<IMG_8485.jpg>>. Then I would know that this particular file started off as IMG_8485.CR2.
    As such, I could quickly/easily backtrack, knowing that the original RAW file was named IMG_8485.CR2
    The issue is that once you've gone thru the effort to ADD these spotlight comments, if you THEN go through a re-naming step, this erases all those Spotlight Comments. That was my problem... Getting the Spotlight Comments in place was never the issue. KEEPING them there was the problem.

  • Help: Batch Renaming in Predefined Order

    I couldn't find the answer on here, hopefully someone can redirect me or help me out.
    There's a feature In Photostation, another metadata editing software, that I assume should be in Bridge although I can't figure out how to do it. I frequently get a folder of up to 20 photos, which are named based on when the photographer shot them during the photo shoot. I have to rename them to our standard naming convention, but reorder them so they are listed in the order they show up in a layout. In Photostation, I can look at the folder, select them one at a time while holding the shift key, and then when I batch rename, the program renames the images in the order I had selected. them So the 5th photo now becomes 1, the last one 2, the third one 3 etc etc.
    Is there any way to do this in Bridge? It looks like it just does a straight one to one rename, the first of the original file names becomes the first in the new file names the second the second etc etc.
    Any help would be appreciated.

    Is there any way to do this in Bridge? It looks like it just does a straight one to one rename, the first of the original file names becomes the first in the new file names the second the second etc etc.
    To my knowledge selecting with shift does not rename them in that order. You have however different options for sorting using the sort filter and you can also place them in a manual order (not that nice working as only click in the order as you wish). When having the files in the correct order using batch rename should rename the files in the shown order either descending or ascending according to the selected option.

  • Adobe Bridge Batch Rename Stopped Working

    ive been using bridge exclusively to rename/
    organize my files and today for some odd reason it just will not work. i select the files i wish to rename and then select batch rename and name/numer the files as ive always done before and when i click rename nothing happens at all. i cleared out my cache to no avail and im now officially stumped. any help is appreciated. thanks!

    Your problem does seem odd.  Difficult to troubleshoot by remote, so run a few tests and see if you can narrow the problem down.
    By any chance are you trying a batch re-name of files on an external drive?  If so may be permissioning problem.
    Do you have this problem in all folders or just one?  If one there may be a contaminated file or name (i.e. flower.jpeg.jpeg)
    To avoid fouling up your files copy a dozen or so and put in "test"  folder then run these tests.
    Can you do a simple rename of one file?
    Can you do a batch rename of one file?
    If the above is true can you do batch rename for all files in this folder?
    If so does the extension make any difference - jpeg, psd, etc.?

  • Adobe Bridge CC: Batch Rename using any metadata field

    How can I add certain Metadata fields to the pull down menu in the batch rename function?
    I need to do a batch rename of files, but using metadata fields that are not available as an option on the pull down menu.
    Hoping to use any or all of these:
    Audio : Artist, Album, Genre
    IPTC Core : Description, Keywords, etc..

    I don't think there is any way in which you can add to the built-in functions…
    Unless this is actually provided by one of the Adobe start-up scripts… ( I've not see it when digging about )
    You would probably need a scripted solution that can give you drop down menu of the extra options you want.

  • How can I Batch Rename Files in Aperture?

    Yesterday I imported some new photos and accidentally used the settings from my last import which named my images in a way that needs to be changed. I have already rated and edited many of the images so I don't want to reimport them from my memory cards.
    Is there a way to batch rename the images - preferably to the original file name from the camera? If not a custom name would be fine.

    Metadata->Batch Change

  • 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 in Adobe CC Bridge does not work. Is there any fix for this problem?

    Hi,
    I'm using Adobe CC Bridge to batch rename a folder of RAW files. Version 6.0.1.6.  I've got the latest Mac Pro running Maverick.  I set up the parameters in the Batch Rename tool, but when I hit Rename, nothing happens.  Is there anything I can do to fix this problem?  Is anyone else experiencing this?  Adobe can you fix this bug?

    I am experiencing this same (or related) bug with using the batch rename inside of Bridge CC (Mac OS X 10.9.5).
    First I filter out a subset of a folder of images that I want to batch-rename, then on the 12 or so thumbs I selected, I invoke the "batch-rename" dialog box... it presents its usual options, which work the first time. Subsequent attempts fail.
    I close the search filter, I re-type my filter, I close the bridge window, re-open the bridge window, etc. to no avail.
    It's interesting to note at this point, the program won't quit; it has to be force-quit.

  • 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?

  • Adobe Bridge CC Batch Rename and File Extensions

    I use Adobe Bridge CC on my macbook pro that is running OS X 10.8.5  When I batch rename files within Bridge it automatically drops the file extension. I am able to add the extension within the naming process but would prefer if it simply defaulted to the existing extension of the files being renamed. On occasion it does do this and then the next time it is gone. What am I doing wrong?

    I don't think there is any way in which you can add to the built-in functions…
    Unless this is actually provided by one of the Adobe start-up scripts… ( I've not see it when digging about )
    You would probably need a scripted solution that can give you drop down menu of the extra options you want.

  • Batch rename

    Hello Adobe community,
    I want to batch rename about 50 pics but the Problem is that the part I want to edit is at every Pic different.
    For example:          _0000_00 Loadscreen      _0001_01 Default       _0002_02 Productdetail      and so forth
    The Part I want to delete is _0000_ ist this possible in Adobe Bridge? Or with any other programms?
    The best way would be able to select the first 6 cyphers? Is this Possible?
    Thanks for your help

    Haha Lol just asked a friend if he knows how to and he told me the same thank you!!! Really awesome tool!!

  • Batch rename files preserving the original file name in metadata

    How can I batch rename files while preserving the original file name in metadata? (Don't want the old file name as part of the new file name)
    (Adobe CS Bridge can do this with some success, but I don't want to be dependant on this software. Results are inconsistent.)

    With a simple terminal script. More details needed, though.

  • Batch rename, name changes after frame 99

    Hi, I put a folder into bridge to do a batch rename and called the text MILAN/SYRIA and gave for first number 00.
    After frame 99 the name changed to a weird  Adobe Bridge Batch Rename Temp 10037
    Which you can see better in the RAW windows, the 99 and the following one.
    Photoshop doesn't like to open a name like that, can't blame her.
    of course I strongly suppose that I should have given 3 digits in Batch rename, and l am looking for your confirmation, and while I am here
    why was my card full at 0485 pictures when a folder I think takes as many as 9999, how do you finish a folder if your card is full?
    i suppose you change card and you keep going with the same folder? Sorry about the camera question, couldn't keep it, thanks dona

    no,no, i started with 00 two digits only, batch rename changed to 623  after i put the folder back in just in order to take the screenshot, i dont know why but that always happens if i put the folder back in after usage, but i do know for life now that if I am going to take over 100 shots, which is most of the time, i should start with 001 or 000.
    See, this is the first number that was given to the first file,  01,WHICH actually became  00, i don't have it here.
    So it rest to know where is "Preserve file name " in current metadata, and would that make it possible  to revert to the original CR2 number?
    Why not to change name straight from the new name? thanks

  • Batch rename is not working

    I attempted to batch rename files in Adobe Bridge CC. Nothing happens. I force quit as Bridge will not quit on command (which is strange as Photoshop will). When I reopen Bridge the files have been renamed "AdobeBatchRenameTemp(than the file name I asked it to write)".
    Any ideas what is wrong with Bridge? Thanks

    Hi
    Are you using Mac Or windows  please mentioned some of the  system specification as well as it will be helpful
    if you are using mac . please go to a location ~/library/cache/adobe      "there will a folder by the name of Bridge CC please move it to desktop and then restart the bridge. this should take care of the cache issue.
    if you are using windows , please go this location C:\Users\user name\AppData\Roaming\Adobe\Bridge CC   and move the cache folder to the desktop
    and restart the Adobe Bridge CC

Maybe you are looking for