Batch rename from "First Last" to "Last, First"

Discussion in 'Mac Apps and Mac App Store' started by Marybru79, May 8, 2008.

  1. Marybru79 macrumors newbie

    Joined:
    May 8, 2008
    #1
    I have a bunch of folders by name "first last", and I want them to be "Last, First".

    It seems like it should be easy enough to program - Select last word, add "," and a space, move to front, delete ending space.

    I was surprised not to find an app that does this. Maybe I'm the only crazy person who cares to do this. :)
     
  2. leodavinci0 macrumors 6502

    Joined:
    Jan 26, 2006
    #2
    Give Automator a try

    I'm at work now, so I can't try it, but this sounds simple enough for the application Automator to handle. Does anyone know if Automator can do this?
     
  3. notjustjay macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #3
    If not Automator, an Applescript could probably be written that can do the text processing on the folder names.
     
  4. jcs1088 macrumors regular

    Joined:
    Oct 12, 2007
    Location:
    Las Vegas, NV
    #4
  5. Marybru79 thread starter macrumors newbie

    Joined:
    May 8, 2008
    #5
    Ok, so my next question would be, how do I select the last word. Each name is a different number of characters so setting it to "last 5 characters" or something like that, won't work.
     

Share This Page