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

    May 8, 2008
    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

    Jan 26, 2006
    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


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

    Oct 12, 2007
    Las Vegas, NV
  5. Marybru79 thread starter macrumors newbie

    May 8, 2008
    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