File renaming question

I need to add four characters into the middle of numerous filenames.  I have tried Batch Rename in Bridge CS3 but did not have any luck. Tried macros with photoshop, and also can't do it.  The file names would look something like this:  11-100.jpg  and I need it to be 11_VX1-100.jpg. Then the next file name would be maybe 20z-100.jpg and I would need it to be 20z_VX1-100.jpg.  Someone suggest using scripts. I do not know how to use scripts. Can it be done? and How do I do it?  Thanks!

Here is a script for Bridge that will allow you to do this..
http://ps-scripts.com/bb/viewtopic.php?t=2366

Similar Messages

  • Batch file renaming questions

    Beyond knowing that such a facility exists, I have no knowledge about Bridge scripting. Can it be used to modify the standard batch file rename process in Bridge?
    I would like to rename my Canon Raw images with the date (from EXIF Date Digitised) and a sequence number that resets to zero for each new date. This sequence number should accurately reflect the order in which the images were taken (via the time component of EXIF Date Digitised). I would also like to process all files in a subdirectory structure at the same time.
    The standard Bridge batch rename process does not offer a counter that resets for each new date, nor does it seem to allow processing files in more than one folder at a time.
    Can this be done? Do such scripts already exist? Alternatively, are there any commercial software utilities that can do this? I am already aware of a freeware solution called DIM but am a little worried about putting my faith in something with no guaranteed ongoing support - a concern that would be addressed by a script I can control myself or a properly supported commercial solution.

    Hello? Hello? Is there anyone there?
    Have I posted this question in the wrong forum or is everyone on vacation?

  • File renaming question plus shortcut keys

    I do a lot of work with renaming files for an archiving project. I was wondering if anyone knew:
    a.) the shortcut keys to skip to the next word when dealing with a file name with underscores without jumping to the beginning or the end. (i.e. somethingsomethingsomething.something). I know that hold down option while using the arrow keys will jump to the next word separated by spaces, or periods, but not underscores.
    b.) why underscores cause words to be recognized as non-breaking elements? It seems like any non-alpha numeric character should still be read as a break, imo.

    If you didn't also know, you want to navigate back and forth through the finder windows the shortcut for that is: command Left bracket / Command Right bracket Thought you might like to know. I also use the key board a lot in place of the mouse/track pad.
    Message was edited by: gfann18
    Message was edited by: gfann18

  • Yet another Applescript file renaming question...

    Hi all,
    Well, having been a full-time Applescripter for five years at Apple, I thought it would be easy to dust my chops off and write a simple script to get a file name from one folder and paste that name onto a file in another folder.... but I guess 15 years of no-scripting has proven too much of a challenge to my aging brain... and I am on a time crunch to get this done for my client.
    SO, here is what I'm hoping to get help with.  I have no doubt it is pretty simple.
    File "A" is in a folder.
    File "B" is in a different folder.
    I need to GET the name of File A and use it to rename File B.
    Can one of you youngin's take 30 seconds and help an old dude out?
    Thanks a bunch,
    matt

    Niel... almost there.
    The script works perfectly (with me placing the path instead of just the folder)... thank you so much.
    One extra thing though... I didn't realize that the files are different file types (jpg and psd).
    So what do I need to do to change the name without changing the file type?
    THANKS again!
    Matt

  • MoveTo file renaming question

    Hi guys
    If you want to change the case of a file name eg...
    filename.txt
    to...
    FILENAME.txt (using moveTo to do this throws an error, as the file already exists)
    ...is there any way to do it that doesn't involve adding arbitrary characters first, or actually making a copy of the file?  eg...
    filename.txt
    to...
    FILENAME_arbitrary_chars_here.txt
    to...
    FILENAME.txt
    Cheers guys

    I'm not clear on where this is coming from but if you can rename a file, thenwhy not rename it twice, first to change it to something else, then to change it to the desired name.  Another option might be to copy the file data, delete the file, and write the data to a new file with the desired name.

  • Restoring from backup to new location + not wanting files renamed

    Hi there - I am a newbie to this forum.
    I have a Win XP machine that recently needed to have the hard drive wiped and the OS re-installed. Fortunately I had a recent backup of all my data so I'm in a good starting position for a restore. However I have some questions as the re-install of the OS has had a change in profile name.
    Before my machine was wiped, I had a "Daniel" profile and so my "iTunes Media folder location" was set to C:\Documents and Settings\Daniel\My Documents\My Music.
    After my PC was rebuilt, a new profile was created called "dnl". iTunes has been re-installed (version 10.1.2.17). The first time I launched iTunes the "iTunes Media folder location" was set to C:\Documents and Settings\dnl\My Documents\My Music. I did NOT choose to have iTunes browse/load my files and so currently iTunes shows no files or playlists.
    I have recreated the C:\Documents and Settings\Daniel\My Documents\My Music folder from my backup so all the music files and the previous libraries are presently in this location. However even if I change the "iTunes Media folder location" within iTunes to point to the "old" location, it doesn’t find the files or libraries.
    I have tried deleting the following files from C:\Documents and Settings\dnl\My Documents\My Music\iTunes:
    iTunes Library Extras.itdb
    iTunes Library Genius.itdb
    iTunes Library.itl
    iTunes Music Library.xml
    I did this assuming that the next time iTunes was launched, it would refer to the old location (as specified as my "iTunes Media folder location"), find the old library files there and use them. However it seems to ignore them and simply re-creates the files above in the location I deleted them from.
    So…I am unclear as to the best strategy to have iTunes point back to the old location to find the music files and retain all the playlists I had.
    I found this thread: http://support.apple.com/kb/ht1364. It mentions a method that will find all the files in the old location and move them to the new location, retaining playlists, artwork etc. Once the data has been copied, it advises to delete the files from the original location.
    However I see that it mentions checking the ‘Keep iTunes Media folder organized’ option. From reading other threads I know this to be a source of one very irritating problem – it renames all the file names. I have specifically ripped my music using software other than iTunes for the express purpose of being able to tag the filenames with more specific info than iTunes would. I like the files to named <artist>-<album>-<track no>-<track title>.<file extension> and am not a fan of the very basic filenames that iTunes assigns.
    So…I want to have iTunes simply point back to the old location and not do any file renaming. I am happy enough to have iTunes simply point to a location that isn’t technically part of my current profile. I don’t have a desperate need for the files to be moved to the dnl profile.
    So…I am guessing there has to be some other file (or registry setting?) that knows where best to point to? Can this modified?
    I would be appreciative of any assistance.
    Thanks!

    Hi Daniel, welcome to Apple Discussions.
    The default location for the iTunes library folder is <Profile><Music>iTunes with the media folder at *<Profile>\<Music>\iTunes\iTunes Media*. For XP the <Music> folder is My Documents\My Music.
    When iTunes starts up it looks for a set of library files in the last location it used. If that location is also the default location and it can't find the library files it assumes it has just been installed and creates a new set.
    Changing the location of the *iTunes Media* folder in preferences does not change which set of library files it opens, nor will it automatically detect all the media in that location.
    Ideally you should restore the folder iTunes and all its subfolders from your backup into *C:\Documents and Settings\dnl\My Documents\My Music* and start iTunes. All should work perfectly and, as far as iTunes is concerned, you will be using the same library as you used to. Any iDevices should sync without problems.
    If you media was not is the usual locations or you are unable to restore the entire iTunes folder then things become more complicated. Post back if you still have trouble and I will try to go into more detail.
    tt2

  • File rename doesn't add leading zeros to renaming files sequence? And a pat on the back to the LR de

    First of all, LR truly rocks. Any Adobe folk reading this, please take this note as a massive pat on the back for your team. There's a lot of childish and naive negativity from people posting in this forum. And I suspect from folk who are not really your key market for this app. I feed my kids by running a photography business and have been shooting digital since the early 90s...ya know...
    LR will be looked at as a massive sea change in the development of digital photography. The first time the entire workflow process is truly viable from end to end. What will make LR the ultimate winner in it's field is simply the integration with Photoshop. Aperture, Capture One etc cannot ever beat LR regarding this and so, just like the way that Excel and Word and Powerpoint all work together and everyone uses them, LR will inevitably become the de facto standard way of managing RAW images for pro photographers.
    Even with the few bugs (specifically file movingon Mac OS10.4.9) LR has shaved HOURS off our workflow. We shoot around 250 gigs of images a month in our weddings and event business. Now all of our editors use LR. No more Capture One etc for us.
    Here's the question - There seems to be no way to add leading zeros to a file rename command. So if you rename a batch of images they appear as 1,2,3,4,5,6,7,8,9,10,11,12 etc so now when I look at them in Bridge or other apps, they are now sorted 1,10,11, etc
    Now let me tell ya this is a pain.
    Any comments or comfort that is is a known issue would be appreciated. All we want is a way to have the rename add the leading zeros like most other apps do...
    Best to all
    William Henshall
    www.californiaweddingphotos.com
    PS By the way, I am a HARD *** about shoddy unstable software sold to pro photographers as the "prefect solution" that doesnt work as advertised...I am that guy that the tech support guys at certain companies dread. Yep, I simply expect an app to do what it says, just like the car I buy. I once resorted to sending the CEO of a certain software company an invoice for my time restarting, reinstalling the OS and bug finding another similar app. You can image, I got a personal call...heh...

    William-
    <br />
    <br />I just changed a folder of 85 images' names, and typed in 001 as my starting number. While no zeroes were prepended, the pix show up in order both in the Finder and in Bridge CS3.
    <br />
    <br />Say a bit more about file moving on your Macs.....
    <br />
    <br />
    <span style="color: rgb(102, 0, 204);">John "McPhotoman"</span>
    <font br="" /></font> color="#800000" size="2"&gt;~~ John McWilliams
    <br />
    <br />
    <br />
    <br />MacBookPro 2 Ghz Intel Core Duo, G-5 Dual 1.8;
    <br />Canon DSLRs

  • Big Big batch rename question

    Hi folks. I've seen a few batch rename questions before, but I think this one's a little different.
    I have a long (8 minute) movie, one big piece in a FCP timeline. For reasons unimportant to this question, I need to break it up into about 50 little 10 second movies. I can do that easily but using the cutting tool and cut cut cut away until I've split my one item in the timeline into 50 pieces. I can then drag them into a bin. Of course, each one is called "final" (that's the name of the movie). I can select all those clips and make them independent clips, which now allows me to rename them.
    Problem is, they need to be renamed to a bunch of unrelated words. ie "plane", "building", "sky" etc. So a simple batch sequence that names them 1, 2 ,3 is not what I'm after.
    I have an exel file with a single column that lists all these names in their proper order. So far, I have successfully:
    exported a batch list from my 50 clips in the bin that are named the same.
    replaced the file names in that batch list with the names from my column of names
    reimported that revised batch list into FCP. Their properties are all correct, ie the right name is with the right in and out points etc.
    I'm stuck now where those clips have a red line through them. How can I relink the 50 clips in the timeline (which are all still called "final") with their properly named counterparts in the bin?
    batch capture of course isn't a solution since there's nothing to capture.
    Hope that's clear and thanks in advance for any ideas.
    B

    If you're running a 32 bit version of windows try Batch Rename
    A really great piece of freeware that is easy to use.
    There are also options within PS's batch dialog that allow you to do the same thing, but I find the above app so much easier.
    I really miss it on my Vista 64 box...

  • Aperture batch file rename: remove dashes from date?

    Just wondering if it is possible to change the format of the date from YYYY-MM-DD to YYYYMMDD when you rename files as they are imported into Aperture 3? I In Aperture 3, the date format used includes dashes. I would like to have the file renamed without the dashes in the date. Is this possible?
    This question was previously asked and answered in 2010, however Aperture does not seem to have an option for this it the batch rename edit menu. Thanks

    It is not possible in the Aperture naming presets to remove the dashes or in any way change the date format.
    The reason is that it is not possible to access the individual components of the date. When you drag an Image Date or Current Date token to form the filename you can't just get the day or the month or the year which is what you would have to be able to do to remove the dashes.
    There is no technical reason this couldn't be allowed, Apple has just made the decision that it won't be allowed. You can try sending feedback to Apple requesting this, see Aperture->Provide Aperture Feedback.
    It is possible to do what you want either before you import the files or with an Applescript eitehr beforre import or within Aperture.
    For doing it before import you would basically copy the image files from the  camera card to a folder and then import from there. There are several programs that you could use to do the rename, Name Mangler has been mentioned here a few times. I've never used it so I can;t vouch for it.
    As for an in Aperture Applescript solution if you are familair with programming and/or Applescript it isn't to difficult to do but would be easier with some prior knowledge.
    regards

  • File rename app

    I created a small application to rename a file using 2 classes. Both compile, and both run, but when I test it on a file, it doesn't rename it.
    Heres the application file:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import java.text.*;
    public class FileRenameTool {
    //String for the label
    private static String NewFileNameString = "New File Name: ";
    public Component createComponents() {
    //Create the label, field and button.
    JLabel TextFieldLabel = new JLabel(NewFileNameString);
    final JTextField FileNameField = new JTextField(20);
    JButton RenameFile = new JButton("Rename File");
         RenameFile.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e) {
              String text = FileNameField.getText();
    // create file rename object
    FileRename fr = new FileRename();
    // create string values for file names
    String OldFile = "C:\\TestFile01.txt";
    String NewFile = text;
              fr.RenameFile(OldFile, NewFile);
    //Layout the text fields in a panel.
    JPanel fieldPane = new JPanel();
    fieldPane.setBorder(BorderFactory.createEmptyBorder(
    30, //top
    30, //left
    10, //bottom
    30) //right
    fieldPane.setLayout(new GridLayout(0, 1));
    fieldPane.add(TextFieldLabel);
    fieldPane.add(FileNameField);
    fieldPane.add(RenameFile);
              return fieldPane;
         // main method
    public static void main(String[] args) {
         try {
    UIManager.setLookAndFeel(
    UIManager.getCrossPlatformLookAndFeelClassName());
    } catch (Exception e) {}
    //Create the top-level container and add contents to it.
    JFrame frame = new JFrame("FileRename");
    FileRenameTool rntool = new FileRenameTool();
    Component contents = rntool.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
    ...and here is the class it is calling:
    import java.io.*;
    public class FileRename {
         public String OldFile;
         public String NewFile;
         public void RenameFile(String OldFile, String NewFile) {     
              this.OldFile = OldFile;
              this.NewFile = NewFile;     
              try {
                   File file = new File(OldFile);
                   File NewName = new File(NewFile);
                   file.renameTo(NewName);
              catch(Exception e) {
                   e.printStackTrace();
    Thanks in advance for your help.

    I advise you to use instead of renameFile, use a method called "renameTo" it has the following format file1.renameTo(file2), it works correctly becuse i have used it before. i am here for any question.

  • File Management Question

    This may win for "stupid question of the year" but I'll ask regardless...is there a way I can change the name of multiple picture files? Instead of going through all my 10,000 pics and changing the names 1 by 1 is there a way I can change a bunch at the same time? for example: I have decided I want to name my picture files by date-so can I somehow select a couple at a time and put in the name I want and it will just use that name with a couple of numbers after it? Please help!

    You could use applescript. It's tricky.
    A Better Finder Rename is the most comprehensive file renaming solution for the Macintosh and transforms the tedious and time-consuming task of renaming multiple files into a simple matter of seconds. The new version 7 is the result of 10 years of listening to our customers in the digital photography, content creation and post-production domains. not free.
    http://www.publicspace.net/ABetterFinderRename/ManualMainDialog.html
    R-Name is a free batch-file-renaming utility. You simply drag-and-drop files (or folders) onto R-Name and they are automatically renamed based on your settings.
    You can even preview the changes before actually renaming the files.
    http://mac.softpedia.com/get/Utilities/RName.shtml
    Robert

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • Files Renamed when importing to LR4 and now can't find them in LR3

    Help!  What should I do???
    Yesterday I installed LR 4 Beta.  I had a folder with 300 images in it on LR 3, obviously all files had names.  I imported these photos into LR4 to work with LR4 and they were renamed in the process.  Now in my LR3 folder, all the files still have there old names and the "missing photo ?" and I assume that's because the name has been changed and LR3 can't find them.  Any thoughts on an easy fix?
    Thanks,
    Matthew Kraus

    Thanks so much for helping me with this.
    I must admit, I didn't pay too much attention when importing this "test"
    group of photos to LR4, therein lies my problem.  Now that I look at the
    import settings that were used:
    1. Files were not added or copied, they were "moved" to a new location and
    also renamed.
    2. Files were renamed starting with "264" using my regular import template.
    Listed below are the first 10 photos with their original LR3 and he
    changed LR4 names.
    1201_001 changed to 1201_264-2
    1201_002 changed to 1201_265-2
    1201_003 changed to 1201_266-2
    1201_004 changed to 1201_267-2
    1201_005-Edit-Edit changed to 1201_268-2
    1201_005-Edit changed to 1201_269-2
    1201_005-Edit changed to 1201_270-2
    1201_005-Edit-Edit-2 changed to 1201_271-2
    I have a back up of my images on an EHD from several days ago which has the
    original file names, but this backup only has 203 of the 268 images I
    imported yesterday and are renamed.
    Thanks again,
    Matthew Kraus
    2012/1/11 Dorin Nicolaescu-Musteață <[email protected]>
       Re: Files Renamed when importing to LR4 and now can't find them in LR3 created by Dorin
    Nicolaescu-Musteață <http://forums.adobe.com/people/dorin_nicolaescu> in *Photoshop
    Lightroom* - View the full discussion<http://forums.adobe.com/message/4132062#4132062>

  • Custom File Renaming Template Keeps Changing

    I'm having issues when creating a custom file naming template in Tiger with LR 1.3.1.
    When importing files, I created a custom template to rename the files with YYMMDD_{original file suffix}{Master}.tif to get this: 071217_12056Master.tif. The first import goes fine. But when I import another batch of files and choose the template all I get is 071217_Master.tif.
    I tried creating the template by hitting F2 to rename the photo and get the same results. The really odd thing is that some of the other templates have their characteristics jumbled around so that what I thought was the "orig file-name" template might actually produce something like 071217_.tif.
    The original file suffix suffers the worst in terms of disappearing without cause. This behavior was occurring in the 1.2 ver. as well. I've deleted every single template thru the editor, recreated them again and still get the errors.
    Hopefully someone here can provide some clues?
    Thank you!

    It sounds as though your import preset either isn't working or wasn't setup correctly.
    Using the full screen import panel, make sure Copy or Move is selected and then select your Import Preset....what does the File Renaming panel look like? "Rename Files" should be ticked, Template should read "Custom Settings" (or the specific rename preset if you've saved it) and the sample should show the correct rename format, like so:
    So does yours look like this, or different?

  • Bridge Photo Downloader File Rename convention

    I use a custom file rename preset (YYMMDD + TEXT + FILE NUMBER SUFIX) in BR CC. This custom preset is not available in the Adobe Bridge CC Photo Downloader Reneame Files drop down menu. Neither is the custom preset formula availble in the advanced rename dialog.
    I end up importing files with the Bridge Photo Downloader (Do not rename files) and then rename files using the Bridge Batch Rename saved preset.
    Is there a way to add a custom file rename convention which is not availble in the Bridge Photo Downloader?
    The idea is to rename files during the file ingestion process.

    Omke
    Thanks for the idea. I tried that but it didn't work. The exact same problem happened again with what appears to be the same crash log: Thread 18 Crashing (see below for that specific section)
    Additionally now in the last week I am experiencing Bridge crashing 1-3x/day regardless of the Photo Downloader.
    Adobe, please advise.
    Thanks
    LW
    Thread 18 crashed with X86 Thread State (32-bit):
       eax: 0x00000000  ebx: 0x903bd3e4  ecx: 0x00000001  edx: 0x00000011
       edi: 0x00000080  esi: 0x00000000  ebp: 0xb0a07858  esp: 0xb0a07810
        ss: 0x0000001f  efl: 0x00010287  eip: 0x903bd433   cs: 0x00000017
        ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
       cr2: 0x00000000

Maybe you are looking for