Automator/Applescript

Discussion in 'macOS' started by ucflyboy, Mar 4, 2008.

  1. ucflyboy macrumors newbie

    Joined:
    Nov 29, 2007
    #1
    Hi all, I am running Leopard with two 1 tb My Book Studios acting as a sort of RAID storing my music and movies. It's not a RAID since I thought I could not move the two drives to a mac mini I plan on buying as an HTPC. My question is, is there an Applescript or Automator command I can use to automatically copy items to drive 2 when I add the item to drive 1? Thanks, I'm new to Mac.

    Larry
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    Yes - essentially, what you're doing is a very simple Folder Actions script. You set the script to watch the drive as a whole, and copy anything new to the same folder on the second drive. I don't know if Automator can handle this task but I know AppleScript can. I haven't written AppleScripts in a while, and I've never made a custom Folder Action, so I don't know exactly what one looks like.
     
  3. ucflyboy thread starter macrumors newbie

    Joined:
    Nov 29, 2007
    #3
    Great! Now how would I go about writing the script? I have no experience with Applescript and haven't had much luck finding tutorials. Thanks again.
     

Share This Page