Running a script when USB Key is inserted

Discussion in 'macOS' started by krazo, Sep 10, 2006.

  1. krazo macrumors newbie

    Aug 12, 2006
    Hi guys,

    I'm wondering if it is possible to run a script when my USB Key is mounted. I'm trying to put together a synchronizing solution with rsync so if I make changes on my USB key at school using my laptop, when I insert it my Mac Pro, the documents folder is updated to reflect the newest changes.

    I already have the rsync side working, I just need to find a way to run the script on mount.

  2. rob finch macrumors member

    Mar 24, 2006
    I was intrigued by this, I thought it would be easy, but not a bit of it!

    I found some interesting info here. I really didn't understand much of it, but hope it helps.
  3. krazo thread starter macrumors newbie

    Aug 12, 2006

Share This Page