Batch rename directories

Discussion in 'Mac OS X Lion (10.7)' started by jjk454ss, Jul 17, 2012.

  1. macrumors 68040

    jjk454ss

    Joined:
    Jul 10, 2008
    #1
    I have a bunch of directories organized by date. Some are 07/15/12 others are July 15, 2012. I'm looking for a quick/easy way to rename the ones in the word format to all numbers. Even if I have to rename everything to a different date format is fine, just so they are all the same. Any way to easily do this?
     
  2. macrumors regular

    Joined:
    Jun 26, 2012
    #2
    There's no "easy" way to do it per se. It would be necessary to use a scripting language such as Bash or PHP.
     
  3. thread starter macrumors 68040

    jjk454ss

    Joined:
    Jul 10, 2008
    #3
    Thanks. I hate to do all these one by one:(.
     
  4. macrumors newbie

    Joined:
    Feb 10, 2009
    Location:
    Texas
  5. thread starter macrumors 68040

    jjk454ss

    Joined:
    Jul 10, 2008
    #5
    I was looking at this since it was 1.99 yesterday. I didn't initially see a way it would covert the date format for me though. I'll keep playing with it. Thanks
     
  6. macrumors newbie

    Joined:
    Feb 10, 2009
    Location:
    Texas
    #6
    I attached a droplet that will produce this output.
    Just Drop the folders on the icon (with a better finder rename 9 installed) and it will rename the files. Clicking on the icon will allow you to modify the settings.

    [​IMG]
     

    Attached Files:

  7. thread starter macrumors 68040

    jjk454ss

    Joined:
    Jul 10, 2008
    #7
    Thank you, I really appreciate the help.

    I just downloaded and tried it. What I did was unzipped the droplet you created into the folder that contains the folders I want converted. I took one folder and drag it onto the droplet, but I don't even know where it went:). When I double click the droplet it tells me "the link between the host application and the droplet is broken, running the host application will fix this problem." But, running Better Rename 9 doesn't seem to fix it.

    Thanks again.
     
  8. macrumors newbie

    Joined:
    Feb 10, 2009
    Location:
    Texas
    #8
    You can recreate it on your copy the settings are

    catagory - text
    action - replace text

    replace "January "
    with "01/"

    repeat for each month

    then
    replace ",20"
    with "/"
     
  9. thread starter macrumors 68040

    jjk454ss

    Joined:
    Jul 10, 2008
    #9
    Thank you, I didn't realize how simple it is to do. It took a few steps, but it worked great and all the folder names match. Thanks again for the help.
     

Share This Page