Please help with Automator issue

Discussion in 'macOS' started by Tsurisuto, Jun 21, 2011.

  1. Tsurisuto macrumors 6502

    Joined:
    Jun 13, 2007
    #1
    I currently have a Media folder with my movies on it, i.e,

    Media Folder
    -Movie01.mkv
    -Movie02.mkv
    -Movie03.mkv

    I want to use Automator to create a folder and name it the same as the file it encompasses, i.e,

    Media Folder
    -Movie01
    --Movie01.mkv
    -Movie02
    --Movie02.mkv
    -Movie03
    --Movie03.mkv

    Any help would be much appreciated!
     
  2. msjones macrumors 6502

    msjones

    Joined:
    Oct 18, 2007
    Location:
    Nottinghamshire, UK
    #2
    Do this have to be automator, you could knock up a shell script to do this just as well :)
     
  3. Tsurisuto thread starter macrumors 6502

    Joined:
    Jun 13, 2007
    #3
    No, it doesn't have to be done with Automator. I just know nothing about Shell Scripts.
     
  4. msjones macrumors 6502

    msjones

    Joined:
    Oct 18, 2007
    Location:
    Nottinghamshire, UK
    #4
    Ill knock up a quick script tonight that will do this. Are you comfortable running scripts from the command line?

    I guess it could also be done in AppleScript, I will take a look :)
     

Share This Page