File renaming help requested

I have a whole bunch of files in the form of:
frame_000001
frame_000002
frame_000003
frame_xxxxxxx
What I need to do is to be able to rename an arbitrary number of frames with either only odd numbers or even numbers:
frame_000001                               
frame_000003                               
frame_000005                             
frame_xxxxxxx
and
frame_000002                               
frame_000004                               
frame_000006                             
frame_xxxxxxx
Obviously, I'm going to have to rename the last file first, and work my way down to the first. Does anyone have a good solution to this problem?

lucke wrote:I use Krename for all my renaming needs.
lol, same here

Similar Messages

  • Batch file confusion: help requested !!!

    I have created a batch file to execute sqlldr and sql file containing number of procedures in windows. For some reason I am facing two problems. I played for a while -
    1. If I execute sqlloader after sql file in a batch file, SqlLoader scripts does not get executed.
    The sequence has always to be, all sqlldr scripts first and then sql file scripts.
    2. Also only the first sql file procedures gets executed and not the second or any other procedure after first. I changed the sql file order and tried. Same thing !!!
    First gets executed and thats all.
    I could apply a brute force method as workaround. Put all the procedure in one script and boom !!! I will have to succumb to the will of SQLLoader script to have priority. Though, I dont like this kind of behaviour.
    I am not using exit commands, anywhere, anytime.
    But I request to know the reason behind it. Its very much possible (infact true !!!) that I am doing something wrong. Please guide folks !!!.
    Thanks
    Som

    sqlldr bbfb_dev/bbfb_dev@som control='C:\lob_region_market\LrmSqlLoader\load_lob_region_market.ctl' log='C:\lob_region_market\LrmSqlLoader\load_lob_region_market.log' bad='C:\lob_region_market\LrmSqlLoader\load_lob_region_market.bad'
    sqlplus bbfb_dev/bbfb_dev@som @ C:\lob_region_market\master_lob_region_market.sql
    sqlplus bbfb_dev/bbfb_dev@som @ C:\industry\master_industry.sql
    In this the sqlloader script works and the first master_lob_region_market.sql gets executed.
    Please help !!!

  • Batch file rename.  I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function.  Any workarounds that would help me avoid manually changing each name?

    OS X Yosemite 10.10.2, Macbook Air,
    Finder batch file rename function. I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function and it won't work.  I took out the slashes and worked fine.  Any workarounds that would help me avoid manually changing each name?  I should point out that I want to leave most of the name intact just change the first word in each name.  Also the files I'm working with are in PDF format.

    That's a comment in the file. It has no effect at all.

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

  • How do I upload and attach the file to Service Request

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    drangineni
    New Contributor
    Hi,
    I am trying to upload a file and add it to a Service object as an
    attachement. I greatly appreciate if you could provide any code or
    sample...
    Thanks.
    Daya
    Product: CRM OnDemand
    10-21-2006 10:58 AM
    Re: How do I upload and attach the file to Service Request...
    BigSlick
    Valued Contributor
    On Demand doesn't support adding attachments via web services. One
    solution I've seen is depending on the scenario is to create a web link
    field on an object that's based on a custom text field. Your web service
    can populate that custom field and the web link can generate a dynamic
    link to the file in On Demand's UI. However, this depends on where the
    attachment is located and if the user needs some sort of firewall access.
    Hope this helps
    -BigSlick
    10-23-2006 11:43 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Yes this still holds ture.
    Bardo

  • Use plug-in metadata for file renaming?

    Hi there,
    I'm writing a plug-in that adds a new export method to Lightroom and that defines some plug-in metadata fields.  I'd like the users to use these metadata fields to define their file renaming pattern in the export dialog. That means I'd like to create a token pattern from a plug-in metadata field.
    Is there a way to accomplish this?
    Regards,
    Robin

    I don't believe there's any way to incorporate plugin metadata fields directly into the builtin renaming patterns.   A couple of possibilities for alternate solutions:
    - Appropriate an existing metadata field that the renaming patterns know about (e.g. Description Writer) and have your plugin set that field with the desired custom metadata using photo:setRawMetadata(). 
    - Use or adapt the Exportant plugin, which provides greatly expanded file renaming possibilities.  The author Role Cole contributes here and is very helpful.

  • I downloaded Adobe Reader 9.3 and now I can't read or print out any of my Pdf files.  Help!

    I downloaded Adobe 9.3 and now I can't read or print
    any of my Pdf files.  Help!

    Windows 7.  I get an error Message - Runtime Error - A network error occurred while attempting to read from the file.  Routine Error - This application has requested the runtime to terminate in an unusual way.

  • Why i can't see table, image, attacth files in meeting request mail.

    Hi, I'm Narongdech
    i have a little question in outlook 2013. Why i can't see table, image, attacth files in meeting request mail. i try make a new meeting request for my partner. but them can't see new mail in the correct format. 
    below,This is a image in my outlook 2007. i try to make this format. Please Help me, and let me know that.
    Thank you.

    Hi Narongdech,
    What’s your Exchange server version? I have tested to send a meeting request to my colleague with a table, a PNG picture and a word attachment in my Outlook 2013 with Exchange 2010 environment. And it can be viewed well.
    Please check whether the issue happens to all Outlook 2013 users or some specific ones. We can close Outlook and send a meeting request with pictures and attachments in OWA to have a test. If the OWA test returns everything is OK, the issue may be related
    to Outlook client. Please run Outlook in safe mode and disable all related mail software to check whether the issue persists.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • AT selection-screen on ON HELP-REQUEST

    Hi
    What is normally done in the Selection Screen event :
    AT selection-screen on ON HELP-REQUEST.
    Normally pressing F1 helps gives Documentation present in Data Element assoicated with the field. Exactly in what cases would we be needing to use this event.

    Hi,
    That event is used for search.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                field_name = 'p_file'
           importing
                file_name  = p_file.
    If you code in the same manner in the selection screen you will able to search and select a file from your work station, so that it will be uploaded in SAP.
    I hope this will help you, if not plzzz be back.
    CHEERS
    If your problem is solved award points and close the thread.

  • Files renaming themselves

    I have had on ongoing problem with files renaming themselves most often with a numeric file name. It has happened with Quark , Illustrator and Photoshop files. There is no pattern... it happens randomly at different times. File names are less than 31 characters. Sometimes when I have linked files in Quark from Photoshop, the linked names willl change but not neccessarily the file name itself on the hard drive. Sometimes both names change, sometimes only the linked name will change in the usage box in Quark, sometimes the file will rename itself on the hard drive. For instance, a file recently named SPI6007_past_presentadult.qxd has renamed itself on my hard drive as QXP-1055969291.qxp In this case, it has created another file and did not replace the original. This has been an ongoing issue and I have worked at several agencies with several different computers and several different Mac Operating Systems. Any help is much appreciated. Out IT guys are stumped.

    Gary,
    I have had this problem over our network. I transfered a folder with a Quark file and about 50 pieces of art. Most of the art had changed to numbers. I would have been sunk if it were not for the folder still on the server. Still had a lot of changing to do. Other computers on network have not been affected--yet. I have had problems with Quark, Photoshop and Illustrator files changing from app files to Unix files. I have searched the discussion pages and have not found a beneficial solution. One thing I have done is to install Quark, Photoshop and Illustrator on our server. This forces the system to recognize the icons and . I am telling our artists to let the program add the extension and for them not to delete it. This will solve the problem from this point on. We still have lots of art that do not have extensions and will cause problems. One site that was somewhat helpful that I would recommend is www.thexlab.com. You will find some information there about resetting launch services. Good luck.

  • File Renaming w/ Illegal Chars

    Hi,
    Making a file renaming program and making it so that the user can't name files using illegal windows characters (|"/\><*?)
    Now I have created a case where it detects the user input if the user inputs illegal chars:
    for(int c = 0; c < file2.length; c++)
                      char[] characters = t[c].getName().toCharArray();
                      String sin = "";
                      StringBuilder sb3 = new StringBuilder();
                      boolean tst = false;
                      for(int g = 0; g < characters.length; g++)
                         sin = "" + characters[g];
                         if(sin.equals("\\") || sin.equals("/") || sin.equals(":") || sin.equals("*") || sin.equals("?") || sin.equals("\"") || sin.equals("<") || sin.equals(">") || sin.equals("|"))
                            sb3.append(sin);
                            tst = true;                                                               
                      if(tst)
                         errornumber++;
                         characterError(c+1, t[c].getName(), sb3.toString());
                         defcontests[2] = false;
                      }Now it works for all of the illegal characters, but when the USER inputs / or \ , my case doesn't detect it as an illegal character. What am I doing wrong? The program doesn't recognize my \ and / characters.

    Well, to start with, this might be more simplistic. Since you're only comparing one character at a time, you don't need the strings:
    // starting inside of the c loop
    char[] characters = t[c].getName().toCharArray();
    StringBuilder sb3 = new StringBuilder();
    boolean tst = false;
    for (char g : characters)
        switch (g)
            case '\':
            case '/':
            case ':':
            case '*':
            case '?':
            case '"':
            case '<':
            case '>':
            case '|':
                sb3.append(g);
                tst = true;
                break;
    if (tst)
        errornumber++;
        characterError(c+1, t[c].getName(), sb3.toString());
        defcontests[2] = false;
    }Then, look at the local variable "tst". Its condition is actually directly related to whether or not there are characters in the buffer:
    // starting inside of the c loop
    char[] characters = t[c].getName().toCharArray();
    StringBuilder sb3 = new StringBuilder();
    for (char g : characters)
        switch (g)
            case '\\':
            case '/':
            case ':':
            case '*':
            case '?':
            case '"':
            case '<':
            case '>':
            case '|':
                sb3.append(g);
                break;
    if (sb3.length()>0)
        errornumber++;
        characterError(c+1, t[c].getName(), sb3.toString());
        defcontests[2] = false;
    }And that works just fine for me. I tested a few strings using that code and, each time, the thread entered the if block at the bottom if any of the character cases appeared in the string.
    I couldn't find anything particularly wrong with your original code, though. Perhaps your if block at the bottom of your loop isn't behaving the way you think it should? Try using a debugger to verify that it enters the loop properly.
    And, by the way, the String.indexOf method might be more helpful to you. It wouldn't be as efficient to test multiple characters (I don't think), but it would make your code simpler and that's always a plus. :)
    Cheers!

  • Error when creating files for transport request SAPK-700BGINPLMWUI

    Hello experts,
    We're upgrading our 46c System to ERP 6.0 EHP4.
    In Phase  EHP_INCLUSION we get the following error Message: Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"
    We've already checked the SAINT version; Upgrade Fix, SAPCAR version. We've checked our TMS as well and everything seems  O.K.
    Any help would be really appreciated!!!
    Complete Error message:
    EhP component PLMWUI, 700                                                                               
    Looking for SAINT package for 'PLMWUI' ...                                                                               
    R3upReadNewPackages:                                                                               
    patchType='U', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    ... No matching package found.                                                                               
    R3upReadNewPackages:                                                                               
    patchType='I', langVect='DEC'                                                                               
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "spda_read_new_packages" by RFC                                                                     
      ismovesVersion='0'                                                                               
    R3upReadNewPackages: exit: rc=0                                                                               
    Found: name = 'PLMWUI', release = '700', package = 'SAPK-700BGINPLMWUI', type = 'AOI'                                  
    ... Matching package found: 'PLMWUI','700','SAPK-700BGINPLMWUI'                                                             
    (trc) R3upPatchDisassembleQueue: 1 package queue entries                                                                    
    (trc) R3upPatchDisassembleQueue: force=YES                                                                               
    (trc) R3upPatchDisassembleQueue: 1 packages will be disassembled                                                            
    Starting disassembling package queue                                                                               
    Date & Time: 20100319133139                                                                               
    Starting RFC Login to: System = "X05", GwHost = "sxt ", GwService = "sapgw00"                                           
    RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"                                                 
    RFC Login succeeded                                                                               
    Calling function module "SPDA_DISASSEMBLE_QUEUE" by RFC                                                                     
    Input table IT_PATQ:                                                                               
    "SAPK-700BGINPLMWUI","000","AOI","PLMWUI","700","SAP PLM Web UI","00"                                                       
    Call of function module "SPDA_DISASSEMBLE_QUEUE" by RFC succeeded                                                           
    Logging off from SAP system                                                                               
    Date & Time: 20100319133139                                                                               
    Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"

    Hello Anthes,
    Please Check the things in following sequence :
    1.Use latest SAPehpi, R3trans and tp versions.
    2. users/group authorization issue and/or ownersip limitations (set 777) .Reboot the server to make sure, that the authorisations are updated and there is no lock on a file in the EHPI dir.Repeat the phase.
    Folders where permissions should be 777 are Upgrade directory, Data Directory, Cofile directory and .../EPS/in.
    3. Source file corruption can be ruled out by execution
    R3trans -l /usr/sap/<SID>/..../abap/data/R-700BGINPLMWUI.SAP (The data file corresponding to the Package which is giving error). Check if this ends fine.
    Note 2050
    4. Confirm that your transport tool is 'healthy' by testing it in STMS. In SPAM in client 000 use the function Disassemble package and enter the package <Package name>.
    5. Try to update the kernel if it not helps.
    Best Regards
    Niraj

  • Creation date used during ingest File Rename incorrect

    Hi
    System:
    Windows 7 64-bit SP1
    Prelude CC v2.0.1 (118)
    I've been using Prelude about 9 months now and have got used to it's foibles.  Hopefully some of these are being addressed for future releases.
    But the recent update seems to have introduced some problems that I didn't notice in previous versions.
    My query is on the new File Rename feature (the lower part of the Ingest panel).
    I have a preset for renaming my clips.  I want to rename using:
    Custom Text - I type this in depending on which location
    Date - I select DDMMYY Creation Date
    Auto Increment - (01)
    I have two issues using this preset, it could be me idk.
    The first is that the Creation Date appears as today's date, not the one from the file as I would understand it.  I would prefer it to pick up the actual Creation Date as it shows in the Metadata of the clip and also the time (i know this has already been suggested by an FCP user).
    The second is that If i rename a batch of files using the Auto Increment and then decide I want to add some more footage shot at a later date but maybe the same location.   I already have for example files labelled location_01 to location_15.  Now i want to ingest some more but starting at location_16.  Currently, I can't change the AutoIncrement field setting as you can in Bridge CC. 
    How I wish u could just implement the Batch rename features of Bridge in Prelude.  I am trying to switch from Bridge as it doesn't play nicely with video on my system.  It's a pain.  I love Prelude but can u please improve the renaming function.
    If the creation date was correct the auto increment feature would not be an issue because the files would be named differently.  As it is, ingesting tons of footage on the same day results in chaos.  Having to remember to manually change the date (I have it as a Custom Text field) is a nightmare and I can see forgetting to do it then it will be a mess.
    Perhaps my workflow is slightly different to someone who works in say TV but it would be nice when I know the features present in Bridge applied to all the other Suite apps.
    Any pointers would be REALLY useful because this is driving me insane at the moment.  And you guys are understandably reluctant to release details of future changes and features, so who knows you could be working on it right now.
    Thanks
    Just found there is another post asking more or less the same but no comments
    http://forums.adobe.com/message/5823964#5823964
    Message was edited by: GraphiteGal

    I'd like to second the request to be able to change the starting value of the auto increment function when ingesting in Prelude CC. 
    If I'm ingesting batches of footage either from different cards or at different times, it creates a mess of both manual file renaming in Finder (or batch renaming—same issue of additional, unnecessary work) and also (sometimes?) getting "file ingest error" messages from Prelude because I've already imported a file with the Custom_Text_(01) name.
    For anyone else with the same issue: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Thanks!

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

    Received Error Message on Desktop Startup:Calendar Failed To Appear, Calendar Database Empty, Original File Renamed to..
    C:\Program Files\Palm|and\Datebook\datebook.001.dat
    I can locate the file, asked to Open With &  selected "Palm OS  Handheld Devise USB class Installer" upon doing so received message
    "Not a Valid Win 32 "Application "
    The calendar opens at startup without any data !!!!!
    I have not syncd the Palm in several days
    HELP
    Post relates to: Palm Z22

    You can recover the data from your user folder provided you have only sync'ed once with the PC when you discovered the data missing. When you sync to the PC there are files created for each PIM category in your user folder. For Example; datebook.dat or datebook (Depending on the version of Palm Desktop) and datebook.bak. Using 6.2 the file names are .mdb and mdb.bak. For 6.2, the files are located in the username folder in PalmOSdesktop in my documents.
    The files are named .dat and .bak. When you sync, the current data is stored in .dat. The next time you sync the data in the .dat file is copied to the .bak file. You can rename the .dat to .old. then rename the .bak to .dat. If the data in the .bak file is intact, it will now be in palm desktop when you reopen Palm desktop. I have included a link to show you how to find the userfolder on the PC.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=26674
    Here is another link regarding data loss;
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=39503
    The best way to backup your data is to use the export feature in Palm Desktop. Make a new folder on the PC desktop named Palm Desktop Backup data. Next, select the category you want to export. You will get a window that asks where you want to save the file, save in the folder created on the desktop. There is a button that allows you to select currently selected record or all, select all. If you don't select all, then only the record highlighted is exported. You will then need to name the file for export, I suggest the name of the category, eg: datebook (With current date). Do this for all critical data in each category. With the data exported to the folder on the PC desktop, you can save this data to a flash drive, external hard drive or a CD-RW. With this method you will have your data in a seperate place than Palm desktop and the device. If you "Lose" data again, you can import the data back into palm desktop.
    Make sure that when you make changes in palm desktop or the device to export the data to the folder created for the backup.
    Here is a link for other options for backing up your data;
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=28751
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://kb.palm.com/wps/portal/kb/na/zire/z22/unlocked/home/page_en.html
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

Maybe you are looking for