Results 1 to 4 of 4
  1. #1
    Applescript vs Automator vs Unix Command
    Thyamine's Avatar
    Member Since
    Apr 23, 2007
    Location
    Coatesville, PA
    Posts
    377
    Specs:
    MBP 15", 2.33 GHz, 2Gb
    Applescript vs Automator vs Unix Command
    Hey all, I'm looking to get into more power user type things with my Mac, and I'm not sure where to start looking for my first task.

    Basically I have a 360 that I stream music to, but they need to be in MP3 format, so I use iTunes to rip CDs or convert music I've bought. The problem is iTunes drops the music in the iTunes folder, and I want to keep my AAC files separate from my MP3 files (mostly because I need to move them to a Media Center PC).

    What I'm looking to do is create a script or even just a simple terminal command that will:

    1. Search a directory and sub-directories for .mp3 files.
    2. Move the file to a new directoy.
    3. Keep the previous directory structure (basically putting the file back into an Artist -> Album -> .mp3 file structure).

    I'm guessing that Applescript will handle this, but I didn't know if that was the overkill method or what.

    As an FYI, I do various ASP.Net development projects, so scripting/programming isn't a problem, I'm just very new to it on a Mac.

  2. #2
    Applescript vs Automator vs Unix Command

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    You don't need to do any scripting at all. Just create a Smart Folder that finds all MP3 files.

  3. #3
    Applescript vs Automator vs Unix Command
    Thyamine's Avatar
    Member Since
    Apr 23, 2007
    Location
    Coatesville, PA
    Posts
    377
    Specs:
    MBP 15", 2.33 GHz, 2Gb
    But a Smart Folder won't let me move them and maintain their directory structure will it? My understanding was that it was more of a filter. I want to actually move the files to a new location.

  4. #4
    Applescript vs Automator vs Unix Command

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    If you want to duplicate the directory hierarchy, then yeah, you'll have to write a script. A Unix shell script is probably the most straightforward way.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 'screen' command in unix
    By wiz561 in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 03-19-2009, 05:24 PM
  2. Unix Command Line books
    By shahvikram123 in forum OS X - Operating System
    Replies: 9
    Last Post: 12-21-2007, 12:24 PM
  3. Unix Command Line Question
    By moz in forum Switcher Hangout
    Replies: 4
    Last Post: 04-22-2006, 07:09 AM
  4. unix shell command,does ibook have that?
    By mac* in forum Apple Notebooks
    Replies: 2
    Last Post: 08-14-2004, 07:36 AM
  5. Unix command master class.
    By Amen-Moses in forum Community Suggestions and Feedback
    Replies: 2
    Last Post: 02-10-2004, 07:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •